diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
commit | f8af5cf600354830d4ccf59732403f0f073eccb9 (patch) | |
tree | 2ba0398b4c42ad4f55561327538044fd2c925a8b /docs/tutorial/OCamlLangImpl2.rst | |
parent | 59d6cff90eecf31cb3dd860c4e786674cfdd42eb (diff) |
Diffstat (limited to 'docs/tutorial/OCamlLangImpl2.rst')
-rw-r--r-- | docs/tutorial/OCamlLangImpl2.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/tutorial/OCamlLangImpl2.rst b/docs/tutorial/OCamlLangImpl2.rst index 83a22ab22d4f4..905b306746f1f 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 |