| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <cmath> | 5 #include <cmath> |
| 6 | 6 |
| 7 #include "src/allocation.h" | 7 #include "src/allocation.h" |
| 8 #include "src/base/logging.h" | 8 #include "src/base/logging.h" |
| 9 #include "src/conversions-inl.h" | 9 #include "src/conversions-inl.h" |
| 10 #include "src/conversions.h" | 10 #include "src/conversions.h" |
| 11 #include "src/globals.h" | 11 #include "src/globals.h" |
| 12 #include "src/hashmap.h" | 12 #include "src/hashmap.h" |
| 13 #include "src/list.h" | 13 #include "src/list.h" |
| 14 #include "src/preparse-data.h" | 14 #include "src/parsing/preparse-data.h" |
| 15 #include "src/preparse-data-format.h" | 15 #include "src/parsing/preparse-data-format.h" |
| 16 #include "src/preparser.h" | 16 #include "src/parsing/preparser.h" |
| 17 #include "src/unicode.h" | 17 #include "src/unicode.h" |
| 18 #include "src/utils.h" | 18 #include "src/utils.h" |
| 19 | 19 |
| 20 namespace v8 { | 20 namespace v8 { |
| 21 namespace internal { | 21 namespace internal { |
| 22 | 22 |
| 23 void PreParserTraits::ReportMessageAt(Scanner::Location location, | 23 void PreParserTraits::ReportMessageAt(Scanner::Location location, |
| 24 MessageTemplate::Template message, | 24 MessageTemplate::Template message, |
| 25 const char* arg, | 25 const char* arg, |
| 26 ParseErrorType error_type) { | 26 ParseErrorType error_type) { |
| (...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1266 Expect(Token::RBRACE, CHECK_OK); | 1266 Expect(Token::RBRACE, CHECK_OK); |
| 1267 return PreParserExpression::Default(); | 1267 return PreParserExpression::Default(); |
| 1268 } | 1268 } |
| 1269 } | 1269 } |
| 1270 | 1270 |
| 1271 #undef CHECK_OK | 1271 #undef CHECK_OK |
| 1272 | 1272 |
| 1273 | 1273 |
| 1274 } // namespace internal | 1274 } // namespace internal |
| 1275 } // namespace v8 | 1275 } // namespace v8 |
| OLD | NEW |