Mercurial > octave-nkf
diff src/parse.y @ 4236:a01ea6c855a3
[project @ 2002-12-25 03:06:51 by jwe]
author | jwe |
---|---|
date | Wed, 25 Dec 2002 03:06:51 +0000 |
parents | 90e44267e8cf |
children | 9c8034434982 |
line wrap: on
line diff
--- a/src/parse.y Wed Dec 25 02:59:54 2002 +0000 +++ b/src/parse.y Wed Dec 25 03:06:51 2002 +0000 @@ -712,14 +712,20 @@ postfix_expr : primary_expr { $$ = $1; } | postfix_expr '(' begin_obj_idx ')' - { $$ = make_index_expression ($1, 0, '('); } + { + $$ = make_index_expression ($1, 0, '('); + lexer_flags.looking_at_object_index = false; + } | postfix_expr '(' begin_obj_idx arg_list ')' { $$ = make_index_expression ($1, $4, '('); lexer_flags.looking_at_object_index = false; } | postfix_expr '{' begin_obj_idx '}' - { $$ = make_index_expression ($1, 0, '{'); } + { + $$ = make_index_expression ($1, 0, '{'); + lexer_flags.looking_at_object_index = false; + } | postfix_expr '{' begin_obj_idx arg_list '}' { $$ = make_index_expression ($1, $4, '{');