comparison libinterp/parse-tree/lex.ll @ 18230:2eb26867bf66 gui-release

update COMMAND_START pattern in lexer * lex.ll (<COMMAND_START>(\.|[^#% \t\r\n\.\,\;\"\'\(\[\{\}\]\)]+)): Fix pattern to not allow '.' to be followed by another '.'.
author John W. Eaton <jwe@octave.org>
date Tue, 07 Jan 2014 13:18:13 -0500
parents 615fdd2238c1
children 3cad99b56fa7 af8a70d6885c
comparison
equal deleted inserted replaced
18225:9a0f996a358a 18230:2eb26867bf66
420 420
421 %{ 421 %{
422 // Everything else is slurped into the command arguments. 422 // Everything else is slurped into the command arguments.
423 %} 423 %}
424 424
425 <COMMAND_START>([\.]|[^#% \t\r\n\,\;\"\'\(\[\{\}\]\)]+) { 425 <COMMAND_START>(\.|[^#% \t\r\n\.\,\;\"\'\(\[\{\}\]\)]+) {
426 curr_lexer->lexer_debug ("<COMMAND_START>[^#% \\t\\r\\n\\.\\,\\;\\\"\\'\\(\\[\\{\\}\\]\\)]+"); 426 curr_lexer->lexer_debug ("<COMMAND_START>(\\.|[^#% \\t\\r\\n\\.\\,\\;\\\"\\'\\(\\[\\{\\}\\]\\)]+)");
427 427
428 curr_lexer->string_text += yytext; 428 curr_lexer->string_text += yytext;
429 curr_lexer->current_input_column += yyleng; 429 curr_lexer->current_input_column += yyleng;
430 } 430 }
431 431