Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index c19f4a9a683a40b6c8cdefae14893008419c8481..1cf6c38937bff653bc8d3130967a48a7399984bc 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -196,7 +196,13 @@ function FormatMessage(message) { |
array_indexof_not_defined: "Array.getIndexOf: Argument undefined", |
object_not_extensible: "Can't add property %0, object is not extensible", |
illegal_access: "Illegal access", |
- invalid_preparser_data: "Invalid preparser data for function %0" |
+ invalid_preparser_data: "Invalid preparser data for function %0", |
+ strict_mode_with: "Strict mode code may not include a with statement", |
+ strict_catch_variable: "Catch variable may not be eval or arguments in strict mode", |
+ strict_param_name: "Parameter name eval or arguments is not allowed in strict mode", |
+ strict_param_dupe: "Strict mode function may not have duplicate parameter names", |
+ strict_var_name: "Variable name may not be eval or arguments in strict mode", |
+ strict_function_name: "Function name may not be eval or arguments in strict mode", |
}; |
} |
var format = kMessages[message.type]; |