Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index 58c9a5302560373123893868e9edc25bd4fab5c4..a6305072b73b080da8403ff2477dda71d8d69555 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -207,7 +207,7 @@ function FormatMessage(message) { |
stack_overflow: ["Maximum call stack size exceeded"], |
// SyntaxError |
unable_to_parse: ["Parse error"], |
- duplicate_regexp_flag: ["Duplicate RegExp flag ", "%0"], |
+ invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor '", "%0", "'"], |
invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"], |
illegal_break: ["Illegal break statement"], |
illegal_continue: ["Illegal continue statement"], |