Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index 7f2de336b5b41ec0e949859a304ab91629420fdf..9235ed94ad75fe8ced263f67f1dc7d29f07e324a 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -364,6 +364,8 @@ class CallSite { |
"% loop variable declaration may not have an initializer.") \ |
T(ForInOfLoopMultiBindings, \ |
"Invalid left-hand side in % loop: Must have a single binding.") \ |
+ T(GeneratorInLegacyContext, \ |
+ "Generator declarations are not allowed in legacy contexts.") \ |
T(IllegalBreak, "Illegal break statement") \ |
T(IllegalContinue, "Illegal continue statement") \ |
T(IllegalLanguageModeDirective, \ |