Index: src/parsing/parser-base.h |
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h |
index acea162a003c06bbe58299b2bbdb3e079d46ecd0..450fe2914b4ec23b8c828ff145dbe01bc1965068 100644 |
--- a/src/parsing/parser-base.h |
+++ b/src/parsing/parser-base.h |
@@ -1053,14 +1053,6 @@ class ParserBase { |
} |
} |
- void ExpressionUnexpectedToken() { |
- MessageTemplate::Template message = MessageTemplate::kUnexpectedToken; |
- const char* arg; |
- Scanner::Location location = scanner()->peek_location(); |
- GetUnexpectedTokenMessage(peek(), &message, &location, &arg); |
- classifier()->RecordExpressionError(location, message, arg); |
- } |
- |
void BindingPatternUnexpectedToken() { |
MessageTemplate::Template message = MessageTemplate::kUnexpectedToken; |
const char* arg; |