summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
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
commitc2a9fe7a776234a305861c4bec27aada8a8d831d (patch)
tree342679d9783cd072bd897733d73e13c0b517da5b /llvm/docs/tutorial
parent4d0313d89f5c0a4c61074bd1767a32ef0a45c0aa (diff)
downloadbcm5719-llvm-c2a9fe7a776234a305861c4bec27aada8a8d831d.tar.gz
bcm5719-llvm-c2a9fe7a776234a305861c4bec27aada8a8d831d.zip
[OCaml] (PR10016) Add a few missing line in OCamlLangImpl2.rst
Original patch by Damien Schoof llvm-svn: 194067
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/OCamlLangImpl2.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/docs/tutorial/OCamlLangImpl2.rst b/llvm/docs/tutorial/OCamlLangImpl2.rst
index 83a22ab22d4..905b306746f 100644
--- a/llvm/docs/tutorial/OCamlLangImpl2.rst
+++ b/llvm/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
OpenPOWER on IntegriCloud