diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2016-11-13 13:22:50 +0100 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2016-11-13 13:22:50 +0100 |
commit | 5a4bad7b5f83ff86b0d75ed6557b8e29b76fc645 (patch) | |
tree | 3217b6f97782935f9568e130364547a85df1047e /sapi/phpdbg/phpdbg_lexer.c | |
parent | 1e65d0ea67a479da18578a498fd8805fac1ea2d8 (diff) | |
parent | ef657978b24d889ab335c2c238352f5152188705 (diff) | |
download | php-git-5a4bad7b5f83ff86b0d75ed6557b8e29b76fc645.tar.gz |
Merge branch 'PHP-7.1'
Diffstat (limited to 'sapi/phpdbg/phpdbg_lexer.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_lexer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_lexer.c b/sapi/phpdbg/phpdbg_lexer.c index d93c66f94d..74cad5b8f2 100644 --- a/sapi/phpdbg/phpdbg_lexer.c +++ b/sapi/phpdbg/phpdbg_lexer.c @@ -534,7 +534,7 @@ yy39: #line 161 "sapi/phpdbg/phpdbg_lexer.l" { phpdbg_init_param(yylval, STR_PARAM); - yylval->str = estrndup(yytext + (*yytext == '\'' || *yytext == '\"'), yyleng - unescape_string(yytext)); + yylval->str = estrndup(yytext, yyleng - unescape_string(yytext)); yylval->len = yyleng; return T_ID; } |