changeset 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 b6efe55f97c7
children 9134ca9d4ec8
files src/lex.ll
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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 (',');