Mercurial > hg > octave-lyh
diff src/lex.l @ 6067:b83e4f9540a0
[project @ 2006-10-20 13:36:13 by jwe]
author | jwe |
---|---|
date | Fri, 20 Oct 2006 13:36:14 +0000 |
parents | 415ae81d331b |
children | 2a8922007c12 |
line wrap: on
line diff
--- a/src/lex.l +++ b/src/lex.l @@ -2318,12 +2318,12 @@ { force_local_variable (tok); } - else if (! next_tok_is_paren) + else if (! (next_tok_is_paren || lexer_flags.looking_at_object_index)) { BEGIN (COMMAND_START); } - if (is_rawcommand_name (tok)) + if (is_rawcommand_name (tok) && ! lexer_flags.looking_at_object_index) { lexer_flags.doing_rawcommand = true; BEGIN (COMMAND_START);