Mercurial > hg > octave-nkf
diff libinterp/parse-tree/lex.ll @ 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 |
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll +++ b/libinterp/parse-tree/lex.ll @@ -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