[llvm] r194067 - [OCaml] (PR10016) Add a few missing line in OCamlLangImpl2.rst

Peter Zotov whitequark at whitequark.org
Tue Nov 5 04:14:04 PST 2013


Author: whitequark
Date: Tue Nov  5 06:14:04 2013
New Revision: 194067

URL: http://llvm.org/viewvc/llvm-project?rev=194067&view=rev
Log:
[OCaml] (PR10016) Add a few missing line in OCamlLangImpl2.rst

Original patch by Damien Schoof

Modified:
    llvm/trunk/docs/tutorial/OCamlLangImpl2.rst

Modified: llvm/trunk/docs/tutorial/OCamlLangImpl2.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/OCamlLangImpl2.rst?rev=194067&r1=194066&r2=194067&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/OCamlLangImpl2.rst (original)
+++ llvm/trunk/docs/tutorial/OCamlLangImpl2.rst Tue Nov  5 06:14:04 2013
@@ -339,6 +339,9 @@ expression:
             (* Eat the binop. *)
             Stream.junk stream;
 
+            (* Parse the primary expression after the binary operator *)
+            let rhs = parse_primary stream in
+
             (* Okay, we know this is a binop. *)
             let rhs =
               match Stream.peek stream with





More information about the llvm-commits mailing list