| T_VARIABLE '=' static_scalar { do_declare_property(&$1, &$3 CLS_CC); }
;
-
+
echo_expr_list:
- /* empty */
| echo_expr_list ',' expr { do_echo(&$3 CLS_CC); }
| expr { do_echo(&$1 CLS_CC); }
;
for_expr:
/* empty */ { $$.op_type = IS_CONST; $$.u.constant.type = IS_BOOL; $$.u.constant.value.lval = 1; }
- | for_expr ',' { do_free(&$1 CLS_CC); } expr { $$ = $4; }
+ | non_empty_for_expr { $$ = $1; }
+;
+
+non_empty_for_expr:
+ non_empty_for_expr ',' { do_free(&$1 CLS_CC); } expr { $$ = $4; }
| expr { $$ = $1; }
;
next_op->filename = zend_get_compiled_filename();
next_op->result.op_type = IS_UNUSED;
next_op->extended_value = 0;
+ next_op->op1.u.EA.var = 0;
+ next_op->op1.u.EA.type = 0;
+ next_op->op2.u.EA.var = 0;
+ next_op->op2.u.EA.type = 0;
+ next_op->result.u.EA.var = 0;
+ next_op->result.u.EA.type = 0;
return next_op;
}