Move Node_Expr_FuncCallArg to Node_Arg (just like Node_Param)

This commit is contained in:
nikic
2011-09-22 20:34:35 +02:00
parent 06b7d63406
commit ee4e55dc75
9 changed files with 28 additions and 28 deletions

View File

@ -351,12 +351,12 @@ function_call_argument_list:
;
non_empty_function_call_argument_list:
expr { init(Expr_FuncCallArg[$1, false]); }
| '&' variable { init(Expr_FuncCallArg[$2, true]); }
expr { init(Arg[$1, false]); }
| '&' variable { init(Arg[$2, true]); }
| non_empty_function_call_argument_list ',' expr
{ push($1, Expr_FuncCallArg[$3, false]); }
{ push($1, Arg[$3, false]); }
| non_empty_function_call_argument_list ',' '&' variable
{ push($1, Expr_FuncCallArg[$4, true]); }
{ push($1, Arg[$4, true]); }
;
global_var_list: