Implement BigInt literal parsing in the parser. (#4089)

Support octal literals for BigInts.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2020-08-04 14:16:38 +02:00
committed by GitHub
parent be9dbeffdb
commit b5a96c9eca
16 changed files with 481 additions and 215 deletions
+3
View File
@@ -279,6 +279,9 @@ typedef enum
LEXER_NUMBER_HEXADECIMAL, /**< hexadecimal number */
LEXER_NUMBER_OCTAL, /**< octal number */
LEXER_NUMBER_BINARY, /**< binary number */
#if ENABLED (JERRY_BUILTIN_BIGINT)
LEXER_NUMBER_BIGINT, /**< bigint number */
#endif /* ENABLED (JERRY_BUILTIN_BIGINT) */
} lexer_number_type_t;
/**