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

Unified Diff: compiler/java/com/google/dart/compiler/parser/Token.java

Issue 8972003: Promote class to a reserved word (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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
Index: compiler/java/com/google/dart/compiler/parser/Token.java
diff --git a/compiler/java/com/google/dart/compiler/parser/Token.java b/compiler/java/com/google/dart/compiler/parser/Token.java
index f425d19eeddab0b27d429e7f628cae5fbbc4d0d4..76d6c916d9791c51721a42e0f85aef159d43d396 100644
--- a/compiler/java/com/google/dart/compiler/parser/Token.java
+++ b/compiler/java/com/google/dart/compiler/parser/Token.java
@@ -90,6 +90,7 @@ public enum Token {
BREAK("break", 0),
CASE("case", 0),
CATCH("catch", 0),
+ CLASS("class",0),
mmendez 2011/12/16 15:58:24 Note that extends, false, is, null and true are no
codefu 2011/12/16 16:56:30 true, false, is, and null are else where in this t
CONST("const", 0),
CONTINUE("continue", 0),
DEFAULT("default", 0),

Powered by Google App Engine
This is Rietveld 408576698