mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-26 20:14:46 +01:00
Support HHVM T_ONUMBER token
This commit is contained in:
parent
66fd29cb58
commit
99df8b86ae
@ -194,6 +194,11 @@ class Lexer
|
||||
}
|
||||
}
|
||||
|
||||
// HHVM uses a special token for numbers that overflow to double
|
||||
if (defined('T_ONUMBER')) {
|
||||
$tokenMap[T_ONUMBER] = Parser::T_DNUMBER;
|
||||
}
|
||||
|
||||
return $tokenMap;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user