mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
fix addr parameters
This commit is contained in:
parent
a2d7e336e6
commit
2fde2ada50
@ -92,8 +92,8 @@ INPUT [^\n]+
|
||||
}
|
||||
{ADDR} {
|
||||
phpdbg_init_param(yylval, ADDR_PARAM);
|
||||
yylval->addr = strtoul(yytext, NULL, 10);
|
||||
return T_ADDR;
|
||||
yylval->addr = strtoul(yytext, 0, 16);
|
||||
return T_ADDR;
|
||||
}
|
||||
{OPCODE} {
|
||||
phpdbg_init_param(yylval, OP_PARAM);
|
||||
|
@ -943,8 +943,8 @@ YY_RULE_SETUP
|
||||
#line 93 "sapi/phpdbg/dev/phpdbg_lexer.l"
|
||||
{
|
||||
phpdbg_init_param(yylval, ADDR_PARAM);
|
||||
yylval->addr = strtoul(yytext, NULL, 10);
|
||||
return T_ADDR;
|
||||
yylval->addr = strtoul(yytext, 0, 16);
|
||||
return T_ADDR;
|
||||
}
|
||||
YY_BREAK
|
||||
case 12:
|
||||
|
Loading…
Reference in New Issue
Block a user