Free three parser status flag bits. (#3451)
The operations covered by these bits can be done in a different way. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
committed by
Dániel Bátyai
parent
0428b51e35
commit
d0b4e7dd04
@@ -163,6 +163,9 @@ typedef enum
|
||||
LEXER_SCAN_SWITCH, /**< special value for switch pre-scan */
|
||||
LEXER_CLASS_CONSTRUCTOR, /**< special value for class constructor method */
|
||||
LEXER_INVALID_PATTERN, /**< special value for invalid destructuring pattern */
|
||||
#if ENABLED (JERRY_ES2015)
|
||||
LEXER_ARROW_LEFT_PAREN, /**< start of arrow function argument list */
|
||||
#endif /* ENABLED (JERRY_ES2015) */
|
||||
|
||||
/* Keywords which are not keyword tokens. */
|
||||
#define LEXER_FIRST_NON_RESERVED_KEYWORD LEXER_KEYW_EVAL
|
||||
|
||||
Reference in New Issue
Block a user