# HG changeset patch # User John W. Eaton # Date 1289344337 18000 # Node ID 521373e25613f587fdf0debd8402fc4263d2ff5c # Parent 5036b0ff959752b72ada9e981e78ac60f1f5224b correctly parse {1 2 {3 4}} diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-11-09 John W. Eaton + + * lex.ll (handle_number): Set lexer_flags.looking_for_object_index + to false here. Fixes bug #31608. + 2010-11-09 John W. Eaton * gl-render.cc (make_marker_list): Call fmod instead of mod. diff --git a/src/lex.ll b/src/lex.ll --- a/src/lex.ll +++ b/src/lex.ll @@ -2361,7 +2361,7 @@ lexer_flags.quote_is_transpose = true; lexer_flags.convert_spaces_to_comma = true; - lexer_flags.looking_for_object_index = true; + lexer_flags.looking_for_object_index = false; lexer_flags.at_beginning_of_statement = false; yylval.tok_val = new token (value, yytext, input_line_number, diff --git a/test/ChangeLog b/test/ChangeLog --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2010-11-09 John W. Eaton + + * test_parser.m: New file. + * Makefile.am (FCN_FILES): Add it to the list. + 2010-09-29 Rik * fntests.m: Break output text differently for better readability. diff --git a/test/Makefile.am b/test/Makefile.am --- a/test/Makefile.am +++ b/test/Makefile.am @@ -39,6 +39,7 @@ test_logical-wfi-f.m \ test_logical-wfi-t.m \ test_null_assign.m \ + test_parser.m \ test_prefer.m \ test_range.m \ test_recursion.m \