php-parser/lib/PhpParser/Lexer
Nikita Popov a2443aaefa Make check in numeric literal separator emulator more precise
a) Don't check for !== false, preg_match() return 0 if there is
no match. This effectively means that the check was always true.
b) Check for hex characters only if there's an 0x prefix. 1_1 is
very likely a numeric separator, but a_b might well be part of
an identifier.

Fixes #639.
2020-02-09 22:50:19 +01:00
..
TokenEmulator Make check in numeric literal separator emulator more precise 2020-02-09 22:50:19 +01:00
Emulative.php Sync flexible heredoc emulation with label fix 2019-08-30 20:21:28 +02:00