[docs] Improvements to CMake.rst
[oota-llvm.git] / docs / tutorial / OCamlLangImpl2.rst
index 07490e1f67df87805adda2af0146c45d3c6f681d..905b306746f1fd670c2ba4200ba8bc91281e6bfd 100644 (file)
@@ -5,9 +5,6 @@ Kaleidoscope: Implementing a Parser and AST
 .. contents::
    :local:
 
-Written by `Chris Lattner <mailto:sabre@nondot.org>`_ and `Erick
-Tryzelaar <mailto:idadesub@users.sourceforge.net>`_
-
 Chapter 2 Introduction
 ======================
 
@@ -342,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