projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a74979
)
Fixed potential bug in run command
author
Bob Weinand
<bobwei9@hotmail.com>
Sun, 20 Apr 2014 11:28:11 +0000
(13:28 +0200)
committer
Bob Weinand
<bobwei9@hotmail.com>
Sun, 20 Apr 2014 11:28:11 +0000
(13:28 +0200)
phpdbg_parser.y
patch
|
blob
|
history
diff --git
a/phpdbg_parser.y
b/phpdbg_parser.y
index be37781cd1b94b561e7031b6e09d91bc68992953..4a84504e2e569721993ee716c077f0f94f8e0adb 100644
(file)
--- a/
phpdbg_parser.y
+++ b/
phpdbg_parser.y
@@
-147,15
+147,15
@@
parameter
$$.str = $2.str;
$$.len = $2.len;
}
+ | T_RUN {
+ $$.type = RUN_PARAM;
+ $$.len = 0;
+ }
| T_RUN T_INPUT {
$$.type = RUN_PARAM;
$$.str = $2.str;
$$.len = $2.len;
}
- | T_RUN {
- $$.type = RUN_PARAM;
- $$.len = 0;
- }
| T_OPCODE { $$ = $1; }
| T_ADDR { $$ = $1; }
| T_LITERAL { $$ = $1; }