| Index: src/messages.h
|
| diff --git a/src/messages.h b/src/messages.h
|
| index ba130427225e3e239eb3dbade563855a4b9597d8..fb3e50caf803db4a491c7141cf4481c6d3a310d1 100644
|
| --- a/src/messages.h
|
| +++ b/src/messages.h
|
| @@ -88,9 +88,17 @@ class MessageHandler {
|
| };
|
|
|
|
|
| -#define MESSAGE_TEMPLATES(T) \
|
| - T(PropertyNotFunction, "Property '%' of object % is not a function") \
|
| - T(WithExpression, "% has no properties")
|
| +#define MESSAGE_TEMPLATES(T) \
|
| + /* Error */ \
|
| + T(CyclicProto, "Cyclic __proto__ value") \
|
| + /* TypeError */ \
|
| + T(CalledNonCallable, "% is not a function") \
|
| + T(GeneratorRunning, "Generator is already running") \
|
| + T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \
|
| + T(PropertyNotFunction, "Property '%' of object % is not a function") \
|
| + T(WithExpression, "% has no properties") \
|
| + /* EvalError */ \
|
| + T(CodeGenFromStrings, "%")
|
|
|
| class MessageTemplate {
|
| public:
|
|
|