Fix iterator step calculation for bracketed property expressions (#3678)

This patch fixes #3665.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
Robert Fancsik
2020-04-20 19:32:59 +02:00
committed by GitHub
parent 9c7a699d10
commit b209e95daa
3 changed files with 47 additions and 38 deletions
@@ -112,6 +112,7 @@ typedef enum
PARSER_PATTERN_LOCAL = (1u << 5), /**< pattern is a local (catch parameter) declaration */
PARSER_PATTERN_REST_ELEMENT = (1u << 6), /**< parse rest array initializer */
PARSER_PATTERN_ARGUMENTS = (1u << 7), /**< parse arguments binding */
PARSER_PATTERN_ARRAY = (1u << 8), /**< array pattern is being parsed */
} parser_pattern_flags_t;
/**