mirror of
https://github.com/php/php-src.git
synced 2024-12-20 15:30:38 +08:00
b6b15fc65c
If a PHP file contains an invalid hex literal such as `0x_10`, the expected error is `Parse error: syntax error, unexpected 'x_10' (T_STRING) in %s on line %d`. This already worked correctly on Linux, but on Windows prior to this patch a different error was produced: `Parse error: Invalid numeric literal in %s on line %d`.
16 lines
297 B
C
16 lines
297 B
C
/* Generated by re2c 1.0.1 */
|
|
#line 3 "Zend/zend_language_scanner_defs.h"
|
|
|
|
enum YYCONDTYPE {
|
|
yycST_IN_SCRIPTING,
|
|
yycST_LOOKING_FOR_PROPERTY,
|
|
yycST_BACKQUOTE,
|
|
yycST_DOUBLE_QUOTES,
|
|
yycST_HEREDOC,
|
|
yycST_LOOKING_FOR_VARNAME,
|
|
yycST_VAR_OFFSET,
|
|
yycINITIAL,
|
|
yycST_END_HEREDOC,
|
|
yycST_NOWDOC,
|
|
};
|