diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-06-29 11:40:48 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-06-29 11:42:40 +0200 |
commit | 16ae792988c577299ea9a34e11ad798739c2d888 (patch) | |
tree | 416e5d22e31379fc84c2eeb87ff15b18ce8f4240 /phpdbg_parser.y | |
parent | ef77d84061b0de674bdad80fa55f220a6b2f9e7d (diff) | |
download | php-git-16ae792988c577299ea9a34e11ad798739c2d888.tar.gz |
Fix issue krakjoe/phpdbg#98
break if does not seem to work
Diffstat (limited to 'phpdbg_parser.y')
-rw-r--r-- | phpdbg_parser.y | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phpdbg_parser.y b/phpdbg_parser.y index fd81edfc29..702bf78455 100644 --- a/phpdbg_parser.y +++ b/phpdbg_parser.y @@ -121,6 +121,11 @@ parameter $$.len = $1.len; $$.num = $3.num; } + | T_IF T_INPUT { + $$.type = COND_PARAM; + $$.str = $2.str; + $$.len = $2.len; + } | T_OPCODE { $$ = $1; } | T_ADDR { $$ = $1; } | T_LITERAL { $$ = $1; } @@ -131,12 +136,7 @@ parameter ; full_expression - : T_IF T_INPUT { - $$.type = COND_PARAM; - $$.str = $2.str; - $$.len = $2.len; - } - | T_EVAL T_INPUT { + : T_EVAL T_INPUT { $$.type = EVAL_PARAM; $$.str = $2.str; $$.len = $2.len; |