comparison 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
comparison
equal deleted inserted replaced
16263:9acb86e6ac90 16265:71ee3afedb69
500 curr_lexer->looking_at_function_handle--; 500 curr_lexer->looking_at_function_handle--;
501 } 501 }
502 ; 502 ;
503 503
504 anon_fcn_handle : '@' param_list statement 504 anon_fcn_handle : '@' param_list statement
505 { $$ = curr_parser.make_anon_fcn_handle ($2, $3); } 505 {
506 $$ = curr_parser.make_anon_fcn_handle ($2, $3);
507 curr_lexer->nesting_level.remove ();
508 }
506 ; 509 ;
507 510
508 primary_expr : identifier 511 primary_expr : identifier
509 { $$ = $1; } 512 { $$ = $1; }
510 | constant 513 | constant