summaryrefslogtreecommitdiff
path: root/deps/v8/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/parser.h')
-rw-r--r--deps/v8/src/parser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/v8/src/parser.h b/deps/v8/src/parser.h
index 0613a8de99..68983b42cc 100644
--- a/deps/v8/src/parser.h
+++ b/deps/v8/src/parser.h
@@ -613,6 +613,14 @@ class Parser {
bool* is_set,
bool* ok);
+ // Strict mode validation of LValue expressions
+ void CheckStrictModeLValue(Expression* expression,
+ const char* error,
+ bool* ok);
+
+ // Strict mode octal literal validation.
+ void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok);
+
// Parser support
VariableProxy* Declare(Handle<String> name, Variable::Mode mode,
FunctionLiteral* fun,