summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorAlex Denisov <1101.debian@gmail.com>2015-11-15 14:13:24 +0000
committerAlex Denisov <1101.debian@gmail.com>2015-11-15 14:13:24 +0000
commitbc769d4d96a36f42b0dd67d59066df7098e35ab4 (patch)
tree24963a3d07596e3a1fe9bf7e455696c919a67ff0 /llvm/docs/tutorial
parent8f3b187e21e3a92803236003a4a3939aa9324c3c (diff)
downloadbcm5719-llvm-bc769d4d96a36f42b0dd67d59066df7098e35ab4.tar.gz
bcm5719-llvm-bc769d4d96a36f42b0dd67d59066df7098e35ab4.zip
[Docs] Fix typo
llvm-svn: 253167
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/LangImpl2.rst2
-rw-r--r--llvm/docs/tutorial/OCamlLangImpl2.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/LangImpl2.rst b/llvm/docs/tutorial/LangImpl2.rst
index 92a266eeb03..4704008fc8a 100644
--- a/llvm/docs/tutorial/LangImpl2.rst
+++ b/llvm/docs/tutorial/LangImpl2.rst
@@ -396,7 +396,7 @@ would be easy enough to eliminate the map and do the comparisons in the
With the helper above defined, we can now start parsing binary
expressions. The basic idea of operator precedence parsing is to break
down an expression with potentially ambiguous binary operators into
-pieces. Consider ,for example, the expression "a+b+(c+d)\*e\*f+g".
+pieces. Consider, for example, the expression "a+b+(c+d)\*e\*f+g".
Operator precedence parsing considers this as a stream of primary
expressions separated by binary operators. As such, it will first parse
the leading primary expression "a", then it will see the pairs [+, b]
diff --git a/llvm/docs/tutorial/OCamlLangImpl2.rst b/llvm/docs/tutorial/OCamlLangImpl2.rst
index 905b306746f..b6b15177f2c 100644
--- a/llvm/docs/tutorial/OCamlLangImpl2.rst
+++ b/llvm/docs/tutorial/OCamlLangImpl2.rst
@@ -280,7 +280,7 @@ fixed-size array).
With the helper above defined, we can now start parsing binary
expressions. The basic idea of operator precedence parsing is to break
down an expression with potentially ambiguous binary operators into
-pieces. Consider ,for example, the expression "a+b+(c+d)\*e\*f+g".
+pieces. Consider, for example, the expression "a+b+(c+d)\*e\*f+g".
Operator precedence parsing considers this as a stream of primary
expressions separated by binary operators. As such, it will first parse
the leading primary expression "a", then it will see the pairs [+, b]
OpenPOWER on IntegriCloud