Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index fc043f20dfd84475409739023d62acb6a6eb7c5c..ff108d6c879dde246ee918c87d28e89a467563c4 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -47,7 +47,8 @@ var kMessages = { |
incompatible_method_receiver: ["Method ", "%0", " called on incompatible receiver ", "%1"], |
multiple_defaults_in_switch: ["More than one default clause in switch statement"], |
newline_after_throw: ["Illegal newline after throw"], |
- redeclaration: ["%0", " '", "%1", "' has already been declared"], |
+ label_redeclaration: ["Label '", "%0", "' has already been declared"], |
+ var_redeclaration: ["Identifier '", "%0", "' has already been declared"], |
no_catch_or_finally: ["Missing catch or finally after try"], |
unknown_label: ["Undefined label '", "%0", "'"], |
uncaught_exception: ["Uncaught ", "%0"], |