Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index 154a9ae5278116fc3f96cf220962afa13feb518c..e7fff33d3bf7f6d47b96a9debbe5ac7a52c0957f 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -21,24 +21,16 @@ namespace v8 { |
namespace internal { |
void PreParserTraits::ReportMessageAt(Scanner::Location location, |
- const char* message, |
- const char* arg, |
- bool is_reference_error) { |
- ReportMessageAt(location.beg_pos, |
- location.end_pos, |
- message, |
- arg, |
- is_reference_error); |
+ const char* message, const char* arg, |
+ ParseErrorType error_type) { |
+ ReportMessageAt(location.beg_pos, location.end_pos, message, arg, error_type); |
} |
-void PreParserTraits::ReportMessageAt(int start_pos, |
- int end_pos, |
- const char* message, |
- const char* arg, |
- bool is_reference_error) { |
- pre_parser_->log_->LogMessage(start_pos, end_pos, message, arg, |
- is_reference_error); |
+void PreParserTraits::ReportMessageAt(int start_pos, int end_pos, |
+ const char* message, const char* arg, |
+ ParseErrorType error_type) { |
+ pre_parser_->log_->LogMessage(start_pos, end_pos, message, arg, error_type); |
} |