Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 72561e0e3e14245135e75966cc4d7e59f853caad..f0e2dc7a3e9fd5d47c1d52634d460cb5b2f1afb1 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -33,6 +33,7 @@ |
#include "preparse-data-format.h" |
#include "preparse-data.h" |
#include "scopes.h" |
+#include "preparser.h" |
namespace v8 { |
namespace internal { |
@@ -165,13 +166,13 @@ class ParserApi { |
// Generic preparser generating full preparse data. |
static ScriptDataImpl* PreParse(UC16CharacterStream* source, |
v8::Extension* extension, |
- bool harmony_scoping); |
+ int flags); |
// Preparser that only does preprocessing that makes sense if only used |
// immediately after. |
static ScriptDataImpl* PartialPreParse(UC16CharacterStream* source, |
v8::Extension* extension, |
- bool harmony_scoping); |
+ int flags); |
}; |
// ---------------------------------------------------------------------------- |