diff src/lex.ll @ 13260:28e3e9158d70

fix bug with parsing cell array lists * lex.ll (<MATRIX_START>{S}+): If spaces are converted to a comma, set lexer_flags.looking_for_object_index to false.
author John W. Eaton <jwe@octave.org>
date Fri, 30 Sep 2011 14:40:33 -0400
parents 7861a5fd3479
children 2c664266e9d0
line wrap: on
line diff
--- a/src/lex.ll	Fri Sep 30 09:57:10 2011 -0700
+++ b/src/lex.ll	Fri Sep 30 14:40:33 2011 -0400
@@ -554,6 +554,7 @@
 
             lexer_flags.quote_is_transpose = false;
             lexer_flags.convert_spaces_to_comma = true;
+            lexer_flags.looking_for_object_index = false;
 
             maybe_warn_separator_insert (',');