Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 783626ad190f28bd030caeab3d635a72d7df7202..aaf059c9a755c6f924cd99bb40a167a4c581414f 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -466,7 +466,7 @@ class Parser BASE_EMBEDDED { |
void ReportMessageAt(Scanner::Location loc, |
const char* message, |
- Vector<const char*> args); |
+ Vector<const char*> args = Vector<const char*>::empty()); |
void ReportMessageAt(Scanner::Location loc, |
const char* message, |
Vector<Handle<String> > args); |
@@ -879,6 +879,7 @@ class Parser BASE_EMBEDDED { |
CompilationInfo* info_; |
friend class BlockState; |
friend class FunctionState; |
+ friend class ObjectLiteralChecker<Parser>; |
}; |