Support destructuring bindings as catch variables. (#3399)
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
9634ca556e
commit
31988877b2
@@ -131,6 +131,7 @@ typedef enum
|
||||
SCANNER_BINDING_CONST, /**< destructuring const binding */
|
||||
SCANNER_BINDING_ARG, /**< destructuring arg binding */
|
||||
SCANNER_BINDING_ARROW_ARG, /**< possible destructuring arg binding of an arrow function */
|
||||
SCANNER_BINDING_CATCH, /**< destructuring catch binding */
|
||||
} scanner_binding_type_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user