Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index 85351fb97834836f05a0538a54ea3f5ef096ac8e..08cb7233b325eb4ce465ebb1ee531466c167f468 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -155,21 +155,15 @@ var kMessages = { |
illegal_access: ["Illegal access"], |
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_eval_arguments: ["Unexpected eval or arguments in strict mode"], |
too_many_arguments: ["Too many arguments in function call (only 32766 allowed)"], |
too_many_parameters: ["Too many parameters in function definition (only 32766 allowed)"], |
too_many_variables: ["Too many variables declared (only 131071 allowed)"], |
- 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"], |
strict_octal_literal: ["Octal literals are not allowed in strict mode."], |
strict_duplicate_property: ["Duplicate data property in object literal not allowed in strict mode"], |
accessor_data_property: ["Object literal may not have data and accessor property with the same name"], |
accessor_get_set: ["Object literal may not have multiple get/set accessors with the same name"], |
- strict_lhs_assignment: ["Assignment to eval or arguments is not allowed in strict mode"], |
- strict_lhs_postfix: ["Postfix increment/decrement may not have eval or arguments operand in strict mode"], |
- strict_lhs_prefix: ["Prefix increment/decrement may not have eval or arguments operand in strict mode"], |
strict_delete: ["Delete of an unqualified identifier in strict mode."], |
strict_delete_property: ["Cannot delete property '", "%0", "' of ", "%1"], |
strict_const: ["Use of const in strict mode."], |