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

Unified Diff: dart/lib/compiler/implementation/scanner/keyword.dart

Issue 11015019: Handle "is" and "as" like other keywords. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also a few co19 fixes in dart2js. Created 8 years, 3 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 | dart/lib/compiler/implementation/scanner/token.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/scanner/keyword.dart
diff --git a/dart/lib/compiler/implementation/scanner/keyword.dart b/dart/lib/compiler/implementation/scanner/keyword.dart
index 1d5319ba27dd3abefb7979aaa030bd2c74e31fe0..653d086f8afbe8569f528d35d838db80961bacda 100644
--- a/dart/lib/compiler/implementation/scanner/keyword.dart
+++ b/dart/lib/compiler/implementation/scanner/keyword.dart
@@ -23,6 +23,8 @@ class Keyword implements SourceString {
const Keyword("for"),
const Keyword("if"),
const Keyword("in"),
+ // TODO(ahe): Don't think this is a reserved word.
+ // See: http://dartbug.com/5579
const Keyword("is", info: IS_INFO),
const Keyword("new"),
const Keyword("null"),
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/scanner/token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698