# HG changeset patch # User John W. Eaton # Date 1414517761 14400 # Node ID a3eead909bf935759421a81a403aabe3b3b6c121 # Parent ce9bd5ed44d2a868e0202d1e7ff8453a92f2854f fix error with command parsing (bug #43470) * lex.ll (CMD_OR_COMPUTED_ASSIGN_OP): To recognize command syntax, require space following the token that may be a command. diff -r ce9bd5ed44d2 -r a3eead909bf9 libinterp/parse-tree/lex.ll --- a/libinterp/parse-tree/lex.ll Thu Oct 16 20:29:37 2014 +0200 +++ b/libinterp/parse-tree/lex.ll Tue Oct 28 13:36:01 2014 -0400 @@ -167,7 +167,8 @@ { \ curr_lexer->lexer_debug (PATTERN); \ \ - if (curr_lexer->previous_token_may_be_command ()) \ + if (curr_lexer->previous_token_may_be_command () \ + && curr_lexer->space_follows_previous_token ()) \ { \ yyless (0); \ curr_lexer->push_start_state (COMMAND_START); \