changeset 16271:87069bd38107

8/10 commits reworking the lexer
author John W. Eaton <jwe@octave.org>
date Mon, 11 Mar 2013 14:32:15 -0400
parents 488b0fef52c5
children 4cf2c4ae8df5 c5e5f6ccac5d
files libinterp/parse-tree/lex.ll
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll	Mon Mar 11 14:31:48 2013 -0400
+++ b/libinterp/parse-tree/lex.ll	Mon Mar 11 14:32:15 2013 -0400
@@ -2980,8 +2980,6 @@
 
       current_input_column += flex_yyleng ();
 
-      at_beginning_of_statement = false;
-
       return STRUCT_ELT;
     }
 
@@ -2990,7 +2988,7 @@
   // an else token, then the next token is at the beginning of a
   // statement.
 
-  // May set begenning_of_statement to true.
+  // May set at_beginning_of_statement to true.
   int kw_token = is_keyword_token (tok);
 
   // If we found a keyword token, then the beginning_of_statement flag