[PATCH] D14220: docs: Misplaced comma in Kaleidoscope tutorial

Brian Gesiak via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 1 15:26:05 PST 2015


modocache created this revision.
modocache added subscribers: llvm-commits, rnk.

Match the convention in the rest of the documentation by placing a space
after the comma, not before.

http://reviews.llvm.org/D14220

Files:
  docs/tutorial/LangImpl2.rst
  docs/tutorial/OCamlLangImpl2.rst

Index: docs/tutorial/OCamlLangImpl2.rst
===================================================================
--- docs/tutorial/OCamlLangImpl2.rst
+++ docs/tutorial/OCamlLangImpl2.rst
@@ -280,7 +280,7 @@
 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]
Index: docs/tutorial/LangImpl2.rst
===================================================================
--- docs/tutorial/LangImpl2.rst
+++ docs/tutorial/LangImpl2.rst
@@ -396,7 +396,7 @@
 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]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14220.38858.patch
Type: text/x-patch
Size: 1493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151101/1197bc13/attachment.bin>


More information about the llvm-commits mailing list