Implement binary literal parsing (#3439)
This patch will allow the user to use binary literals starting with 0b or 0B, these literals will be evaluated in parsing time resulting an integer Co-authored-by: Robert Fancsik frobert@inf.u-szeged.hu JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
committed by
Dániel Bátyai
parent
3c0beaf87d
commit
b6f2ff1ba7
@@ -248,6 +248,7 @@ typedef enum
|
||||
LEXER_NUMBER_DECIMAL, /**< decimal number */
|
||||
LEXER_NUMBER_HEXADECIMAL, /**< hexadecimal number */
|
||||
LEXER_NUMBER_OCTAL, /**< octal number */
|
||||
LEXER_NUMBER_BINARY, /**< binary number */
|
||||
} lexer_number_type_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user