summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2013-11-05 12:14:04 +0000
committerPeter Zotov <whitequark@whitequark.org>2013-11-05 12:14:04 +0000
commit225146951e6572dc9a82dc3579aa440fd2db0326 (patch)
treec1185f69f1b3799942637a25a49f21d351ffc8d6 /docs
parenta2e6e6bcf8cc37ad91b130b9d02d9fe951fbb4d1 (diff)
downloadexternal_llvm-225146951e6572dc9a82dc3579aa440fd2db0326.zip
external_llvm-225146951e6572dc9a82dc3579aa440fd2db0326.tar.gz
external_llvm-225146951e6572dc9a82dc3579aa440fd2db0326.tar.bz2
[OCaml] (PR10016) Add a few missing line in OCamlLangImpl2.rst
Original patch by Damien Schoof git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial/OCamlLangImpl2.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/tutorial/OCamlLangImpl2.rst b/docs/tutorial/OCamlLangImpl2.rst
index 83a22ab..905b306 100644
--- a/docs/tutorial/OCamlLangImpl2.rst
+++ b/docs/tutorial/OCamlLangImpl2.rst
@@ -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