# HG changeset patch # User John W. Eaton # Date 1389118693 18000 # Node ID 2eb26867bf66f979c55f9dbc1f3dcbbb966961e8 # Parent 9a0f996a358ad53ca95818ac69f76170c3f76a97 update COMMAND_START pattern in lexer * lex.ll ((\.|[^#% \t\r\n\.\,\;\"\'\(\[\{\}\]\)]+)): Fix pattern to not allow '.' to be followed by another '.'. diff -r 9a0f996a358a -r 2eb26867bf66 libinterp/parse-tree/lex.ll --- a/libinterp/parse-tree/lex.ll Mon Jan 06 14:21:26 2014 -0500 +++ b/libinterp/parse-tree/lex.ll Tue Jan 07 13:18:13 2014 -0500 @@ -422,8 +422,8 @@ // Everything else is slurped into the command arguments. %} -([\.]|[^#% \t\r\n\,\;\"\'\(\[\{\}\]\)]+) { - curr_lexer->lexer_debug ("[^#% \\t\\r\\n\\.\\,\\;\\\"\\'\\(\\[\\{\\}\\]\\)]+"); +(\.|[^#% \t\r\n\.\,\;\"\'\(\[\{\}\]\)]+) { + curr_lexer->lexer_debug ("(\\.|[^#% \\t\\r\\n\\.\\,\\;\\\"\\'\\(\\[\\{\\}\\]\\)]+)"); curr_lexer->string_text += yytext; curr_lexer->current_input_column += yyleng;