Mercurial > hg > octave-lyh
diff libinterp/parse-tree/oct-parse.in.yy @ 16265:71ee3afedb69
5/10 commits reworking the lexer
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 11 Mar 2013 14:29:19 -0400 |
parents | 9acb86e6ac90 |
children | 36e01847694f c5e5f6ccac5d |
line wrap: on
line diff
--- a/libinterp/parse-tree/oct-parse.in.yy +++ b/libinterp/parse-tree/oct-parse.in.yy @@ -502,7 +502,10 @@ ; anon_fcn_handle : '@' param_list statement - { $$ = curr_parser.make_anon_fcn_handle ($2, $3); } + { + $$ = curr_parser.make_anon_fcn_handle ($2, $3); + curr_lexer->nesting_level.remove (); + } ; primary_expr : identifier