Mercurial > hg > octave-lyh
diff src/parse.y @ 5848:415ae81d331b
[project @ 2006-06-08 20:37:29 by jwe]
author | jwe |
---|---|
date | Thu, 08 Jun 2006 20:37:29 +0000 |
parents | fb4dea2184bf |
children | 2a6cb4ed8f1e |
line wrap: on
line diff
--- a/src/parse.y +++ b/src/parse.y @@ -394,7 +394,7 @@ // Other tokens. %token END_OF_INPUT LEXICAL_ERROR -%token FCN VARARGIN VARARGOUT ALL_VA_ARGS +%token FCN VARARGIN VARARGOUT %token CLOSE_BRACE // Nonterminals we construct. @@ -665,12 +665,6 @@ { $$ = new tree_argument_list ($1); } | magic_colon { $$ = new tree_argument_list ($1); } - | ALL_VA_ARGS - { - octave_value tmp (octave_value::all_va_args_t); - tree_constant *all_va_args = new tree_constant (tmp); - $$ = new tree_argument_list (all_va_args); - } | arg_list ',' magic_colon { $1->append ($3); @@ -681,13 +675,6 @@ $1->append ($3); $$ = $1; } - | arg_list ',' ALL_VA_ARGS - { - octave_value tmp (octave_value::all_va_args_t); - tree_constant *all_va_args = new tree_constant (tmp); - $1->append (all_va_args); - $$ = $1; - } ; indirect_ref_op : '.'