mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
pdo_mysql: "--" should be followed by a whitespace character
This required changing how YYFILL works, with no apparent regressions
This commit is contained in:
parent
3096ffa7ab
commit
037243ccd7
4 changed files with 15 additions and 5 deletions
|
@ -28,7 +28,7 @@ int pdo_mysql_scanner(pdo_scanner_t *s)
|
|||
/*!re2c
|
||||
BINDCHR = [:][a-zA-Z0-9_]+;
|
||||
QUESTION = [?];
|
||||
COMMENTS = ("/*"([^*]+|[*]+[^/*])*[*]*"*/"|("--"|[#])[^\r\n]*);
|
||||
COMMENTS = ("/*"([^*]+|[*]+[^/*])*[*]*"*/"|(("--"[ \t\v\f\r])|[#]).*);
|
||||
SPECIALS = [:?"'`/#-];
|
||||
MULTICHAR = ([:]{2,}|[?]{2,});
|
||||
ANYNOEOF = [\001-\377];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue