Change a test to make sure that it works.
Found by inspection.
bool
lex_force_string_or_id (struct lexer *lexer)
{
bool
lex_force_string_or_id (struct lexer *lexer)
{
- return lex_is_integer (lexer) || lex_force_string (lexer);
+ return lex_token (lexer) == T_ID || lex_force_string (lexer);
}
/* If the current token is an integer, does nothing and returns true.
}
/* If the current token is an integer, does nothing and returns true.
END INPUT PROGRAM.
DO REPEAT x = 1 2 3.
END INPUT PROGRAM.
DO REPEAT x = 1 2 3.