Implement var statement pre-scanning. (#3103)
The patch also checks whether pre-scanning is successful when scanning is, so no need for explicit pre-scanner checks anymore. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
committed by
Robert Fancsik
parent
6e79bb148e
commit
951d7e6842
@@ -86,6 +86,9 @@ typedef enum
|
||||
PARSER_MODULE_STORE_IDENT = (1u << 26), /**< store identifier of the current export statement */
|
||||
PARSER_IS_EVAL = (1u << 27), /**< eval code */
|
||||
#endif /* ENABLED (JERRY_ES2015_MODULE_SYSTEM) */
|
||||
#ifndef JERRY_NDEBUG
|
||||
PARSER_SCANNING_SUCCESSFUL = (1u << 30), /**< scanning process was successful */
|
||||
#endif /* !JERRY_NDEBUG */
|
||||
} parser_general_flags_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user