Index: src/parsing/parser-base.h |
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h |
index 86e4826ddfee58787d056b831f6616d5bab14526..e8bcf03119c66ea1a04244f744e8725d88bba112 100644 |
--- a/src/parsing/parser-base.h |
+++ b/src/parsing/parser-base.h |
@@ -114,6 +114,7 @@ class ParserBase : public Traits { |
allow_harmony_default_parameters_(false), |
allow_harmony_destructuring_bind_(false), |
allow_harmony_destructuring_assignment_(false), |
+ allow_harmony_restrictive_declarations_(false), |
allow_strong_mode_(false), |
allow_legacy_const_(true), |
allow_harmony_do_expressions_(false), |
@@ -132,6 +133,7 @@ class ParserBase : public Traits { |
ALLOW_ACCESSORS(harmony_default_parameters); |
ALLOW_ACCESSORS(harmony_destructuring_bind); |
ALLOW_ACCESSORS(harmony_destructuring_assignment); |
+ ALLOW_ACCESSORS(harmony_restrictive_declarations); |
ALLOW_ACCESSORS(strong_mode); |
ALLOW_ACCESSORS(legacy_const); |
ALLOW_ACCESSORS(harmony_do_expressions); |
@@ -951,6 +953,7 @@ class ParserBase : public Traits { |
bool allow_harmony_default_parameters_; |
bool allow_harmony_destructuring_bind_; |
bool allow_harmony_destructuring_assignment_; |
+ bool allow_harmony_restrictive_declarations_; |
bool allow_strong_mode_; |
bool allow_legacy_const_; |
bool allow_harmony_do_expressions_; |