Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index 8cd60b1c5c173db769754a78a0e42f8ebd23acc1..8bc11cb63587c6f61676f7da4acd9f590f7c12e2 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -495,6 +495,8 @@ class CallSite { |
T(TypedArrayTooShort, \ |
"Derived TypedArray constructor created an array which was too small") \ |
T(UnexpectedEOS, "Unexpected end of input") \ |
+ T(UnexpectedFunctionSent, \ |
+ "function.sent expression is not allowed outside a generator") \ |
T(UnexpectedReserved, "Unexpected reserved word") \ |
T(UnexpectedStrictReserved, "Unexpected strict mode reserved word") \ |
T(UnexpectedSuper, "'super' keyword unexpected here") \ |