Index: src/preparser.h |
diff --git a/src/preparser.h b/src/preparser.h |
index 2db88e7bc2687cd7bfdc3399665934c6a77ae100..3a2e28fa5f1c1dbba23a8f7aaa05a07959128509 100644 |
--- a/src/preparser.h |
+++ b/src/preparser.h |
@@ -1704,7 +1704,7 @@ typename ParserBase<Traits>::ExpressionT ParserBase<Traits>::ParseRegExpLiteral( |
IdentifierT js_pattern = this->GetNextSymbol(scanner()); |
if (!scanner()->ScanRegExpFlags()) { |
Next(); |
- ReportMessage("invalid_regexp_flags"); |
+ ReportMessage("malformed_regexp_flags"); |
*ok = false; |
return Traits::EmptyExpression(); |
} |