Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 68983b42cc37a8b76abafe6171d496c9bd5947a0..15fb094990f8acb69e6d0dbb849573d79b2ef6d3 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -423,7 +423,8 @@ class Parser { |
// Returns NULL if parsing failed. |
FunctionLiteral* ParseProgram(Handle<String> source, |
- bool in_global_context); |
+ bool in_global_context, |
+ bool strict_mode); |
FunctionLiteral* ParseLazy(Handle<SharedFunctionInfo> info); |
@@ -446,6 +447,7 @@ class Parser { |
// Called by ParseProgram after setting up the scanner. |
FunctionLiteral* DoParseProgram(Handle<String> source, |
bool in_global_context, |
+ bool strict_mode, |
ZoneScope* zone_scope); |
// Report syntax error |