Mercurial > octave-nkf
comparison libinterp/parse-tree/lex.ll @ 16643:4258750c76ed
don't push operator tokens twice
* lex.ll (octave_base_lexer::handle_op_internal):
Use count_token_internal, not count_token.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 12 May 2013 21:05:19 -0400 |
parents | 8097a052ec57 |
children | 856cb7cba231 de79cdbbdf7c |
comparison
equal
deleted
inserted
replaced
16642:e3a0ca9c8836 | 16643:4258750c76ed |
---|---|
3032 | 3032 |
3033 current_input_column += flex_yyleng (); | 3033 current_input_column += flex_yyleng (); |
3034 looking_for_object_index = false; | 3034 looking_for_object_index = false; |
3035 at_beginning_of_statement = bos; | 3035 at_beginning_of_statement = bos; |
3036 | 3036 |
3037 return count_token (tok); | 3037 return count_token_internal (tok); |
3038 } | 3038 } |
3039 | 3039 |
3040 int | 3040 int |
3041 octave_base_lexer::handle_token (const std::string& name, int tok) | 3041 octave_base_lexer::handle_token (const std::string& name, int tok) |
3042 { | 3042 { |