diff options
author | Zeev Suraski <zeev@php.net> | 1999-05-22 16:10:51 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-05-22 16:10:51 +0000 |
commit | 1250c43a39cb562659076859bcf7c77260e45ffd (patch) | |
tree | 082c64d5b12b875659a5fd416c77a4cb959dd54d /Zend/zend-parser.y | |
parent | 165280264178a9b561eac1e4b5985e0649c906a2 (diff) | |
download | php-git-1250c43a39cb562659076859bcf7c77260e45ffd.tar.gz |
* Add struct name to all typedef's so that they can be debugged with MSVC
* Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus
causing AiCount to be decreased multiple times even though it was increased only
once for $var. Mark all FETCH_DIM's so that they won't decrease AiCount, and only
decrease AiCount on the last FETCH_DIM.
* Fix a stupid bug - forgot to pass CLS_C to some compiler function. For some reason
MSVC doesn't report these :I
Diffstat (limited to 'Zend/zend-parser.y')
-rw-r--r-- | Zend/zend-parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend-parser.y b/Zend/zend-parser.y index 7d338c97e2..2e285ff734 100644 --- a/Zend/zend-parser.y +++ b/Zend/zend-parser.y @@ -362,7 +362,7 @@ for_expr: expr_without_variable: - T_LIST '(' { do_list_init(); } assignment_list ')' '=' expr { do_list_end(&$$, &$7 CLS_CC); } + T_LIST '(' { do_list_init(CLS_C); } assignment_list ')' '=' expr { do_list_end(&$$, &$7 CLS_CC); } | w_cvar '=' expr { do_assign(&$$, &$1, &$3 CLS_CC); } | w_cvar '=' '&' w_cvar { do_assign_ref(&$$, &$1, &$4 CLS_CC); } | w_cvar '=' T_NEW class_name { do_extended_fcall_begin(CLS_C); do_begin_new_object(&$2, &$1, &$3, &$4 CLS_CC); } ctor_arguments { do_end_new_object(&$4, &$3, &$6 CLS_CC); do_extended_fcall_end(CLS_C); $$ = $2;} |