Fix error message name.
authormmaly@chromium.org <mmaly@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 1 Feb 2011 16:08:44 +0000 (16:08 +0000)
committermmaly@chromium.org <mmaly@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 1 Feb 2011 16:08:44 +0000 (16:08 +0000)
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6558 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/messages.js

index a1342f0279c2e4597e26d31b56b9491fdf6e7cb9..e9a88ece74f78660f4d8d59ed2eee8a31682cf62 100644 (file)
@@ -222,7 +222,7 @@ function FormatMessage(message) {
       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_eval_assignment:   ["Assignment to eval or arguments is not allowed in strict mode"],
+      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"],
     };