summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_lexer.l
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2016-10-02 12:46:22 +0100
committerBob Weinand <bobwei9@hotmail.com>2016-10-02 12:46:22 +0100
commitf58cf8b24dc01d79a07035a794531bedc1b0b3f3 (patch)
treede5771069561214d803fa2d02bfe8553fb11ad06 /sapi/phpdbg/phpdbg_lexer.l
parent3fe1010ceebe231afcee8aceae6782c18da23539 (diff)
parent417a8ef6b45ed8510faf5ebfb7b4f8c76cb97934 (diff)
downloadphp-git-f58cf8b24dc01d79a07035a794531bedc1b0b3f3.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
Diffstat (limited to 'sapi/phpdbg/phpdbg_lexer.l')
-rw-r--r--sapi/phpdbg/phpdbg_lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_lexer.l b/sapi/phpdbg/phpdbg_lexer.l
index b9c247a494..820eac7f84 100644
--- a/sapi/phpdbg/phpdbg_lexer.l
+++ b/sapi/phpdbg/phpdbg_lexer.l
@@ -82,7 +82,7 @@ ID [^ \r\n\t:#\000]+
GENERIC_ID ([^ \r\n\t:#\000"']|":\\")+|["]([^\n\000"\\]|"\\\\"|"\\"["])+["]|[']([^\n\000'\\]|"\\\\"|"\\"['])+[']
ADDR [0][x][a-fA-F0-9]+
OPCODE (ZEND_|zend_)([A-Za-z])+
-INPUT ([^\n\000#"']|"\\"["']|["]([^\n\000"\\]|"\\\\"|"\\"["])+["]|[']([^\n\000'\\]|"\\\\"|"\\"['])+['])+
+INPUT ("\\"[#"']|["]("\\\\"|"\\"["]|[^\n\000"])+["]|[']("\\"[']|"\\\\"|[^\n\000'])+[']|[^\n\000#"'])+
<!*> := yyleng = (size_t) YYCURSOR - (size_t) yytext;