Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index e97cf45fb8191c502720c0266dcc23cec73385fb..9ff0b8903edb593e57d1d858e8385612ca8e708d 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -71,7 +71,6 @@ class CallSite { |
int32_t pos_; |
}; |
- |
#define MESSAGE_TEMPLATES(T) \ |
/* Error */ \ |
T(None, "") \ |
@@ -384,12 +383,10 @@ class CallSite { |
T(DuplicateExport, "Duplicate export of '%'") \ |
T(DuplicateProto, \ |
"Duplicate __proto__ fields are not allowed in object literals") \ |
- T(ForInLoopInitializer, \ |
- "for-in loop variable declaration may not have an initializer.") \ |
+ T(ForInOfLoopInitializer, \ |
+ "% loop variable declaration may not have an initializer.") \ |
T(ForInOfLoopMultiBindings, \ |
"Invalid left-hand side in % loop: Must have a single binding.") \ |
- T(ForOfLoopInitializer, \ |
- "for-of loop variable declaration may not have an initializer.") \ |
T(IllegalAccess, "Illegal access") \ |
T(IllegalBreak, "Illegal break statement") \ |
T(IllegalContinue, "Illegal continue statement") \ |