Index: src/scanner.cc |
diff --git a/src/scanner.cc b/src/scanner.cc |
index 47e9895cf42261f0a4f80011164e69caf164f026..38d0b1c33e2ea274b28d717f49f063e27ca5e939 100755 |
--- a/src/scanner.cc |
+++ b/src/scanner.cc |
@@ -324,10 +324,8 @@ void Scanner::LiteralScope::Complete() { |
V8JavaScriptScanner::V8JavaScriptScanner() : JavaScriptScanner() { } |
-void V8JavaScriptScanner::Initialize(UC16CharacterStream* source, |
- int literal_flags) { |
+void V8JavaScriptScanner::Initialize(UC16CharacterStream* source) { |
source_ = source; |
- literal_flags_ = literal_flags | kLiteralIdentifier; |
// Need to capture identifiers in order to recognize "get" and "set" |
// in object literals. |
Init(); |
@@ -377,7 +375,7 @@ bool JsonScanner::SkipJsonWhiteSpace() { |
void JsonScanner::ScanJson() { |
- next_.literal_chars = Vector<const char>(); |
+ next_.literal_chars = NULL; |
Token::Value token; |
do { |
// Remember the position of the next token |