Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: src/messages.js

Issue 6248013: Strict mode octal literals. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/parser.h » ('j') | src/scanner-base.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index e62f06fcf884857e18fca7c768833bf3ad82269e..7ca3d0c8b3c43d43b6987d084b381e19b35f892f 100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -209,6 +209,7 @@ function FormatMessage(message) {
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.",
};
}
var format = kMessages[message.type];
« no previous file with comments | « no previous file | src/parser.h » ('j') | src/scanner-base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698