| Index: src/scanner.cc
|
| diff --git a/src/scanner.cc b/src/scanner.cc
|
| index 15b1d44203e5c897c7b33591f8dd9f6576464a07..79d63f1774dceaceceec1eccb19aebb218bb3a34 100755
|
| --- a/src/scanner.cc
|
| +++ b/src/scanner.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2006-2008 the V8 project authors. All rights reserved.
|
| +// Copyright 2010 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -342,8 +342,11 @@ void Scanner::LiteralScope::Complete() {
|
| // ----------------------------------------------------------------------------
|
| // Scanner
|
|
|
| -Scanner::Scanner(ParserMode pre)
|
| - : is_pre_parsing_(pre == PREPARSE), stack_overflow_(false) { }
|
| +Scanner::Scanner()
|
| + : has_line_terminator_before_next_(false),
|
| + is_parsing_json_(false),
|
| + source_(NULL),
|
| + stack_overflow_(false) {}
|
|
|
|
|
| void Scanner::Initialize(Handle<String> source,
|
|
|