Fixed: #1838 AS3 - Properly handling of long unsigned values, hex values, default uint values etc.

Changed: AS3 integer values are internally (e.g. in the lib) handled as java int type instead of long.
This commit is contained in:
Jindra Petřík
2022-10-22 15:27:44 +02:00
parent ef673667e2
commit d3477d910c
28 changed files with 1402 additions and 1424 deletions

View File

@@ -116,10 +116,10 @@ IdentifierOrParent = {Identifier} | ".."
/* integer literals */
DecIntegerLiteral = 0 | [1-9][0-9]*
HexIntegerLiteral = 0 [xX] 0* {HexDigit} {1,8}
HexIntegerLiteral = 0 [xX] 0* {HexDigit}+
HexDigit = [0-9a-fA-F]
OctIntegerLiteral = 0+ [1-3]? {OctDigit} {1,15}
OctIntegerLiteral = 0+ [1-3]? {OctDigit}+
OctDigit = [0-7]
/* floating point literals */