Keywords must not contain escape sequences. (#3429)
The ES5.1 standard is unclear about this rule. 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
dc458d29fb
commit
b8bc013fc0
@@ -288,8 +288,7 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
uint8_t type; /**< token type */
|
||||
uint8_t literal_is_reserved; /**< future reserved keyword
|
||||
* (when char_literal.type is LEXER_IDENT_LITERAL) */
|
||||
uint8_t ident_is_strict_keyword; /**< identifier is strict reserved keyword */
|
||||
uint8_t extra_value; /**< helper value for different purposes */
|
||||
uint8_t flags; /**< flag bits for the current token */
|
||||
parser_line_counter_t line; /**< token start line */
|
||||
|
||||
Reference in New Issue
Block a user