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

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

Issue 10857013: Support for new catch syntax in dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 years, 4 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
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 395ea499435bba955a069074ec11e3e5271567b4..1afe870f0de222e4013c02857b6acf55cbb97cf8 100644
--- a/dart/lib/compiler/implementation/scanner/keyword.dart
+++ b/dart/lib/compiler/implementation/scanner/keyword.dart
@@ -50,6 +50,7 @@ class Keyword implements SourceString {
static final Keyword NATIVE = const Keyword("native", isPseudo: true);
static final Keyword NEGATE = const Keyword("negate", isPseudo: true);
static final Keyword OPERATOR = const Keyword("operator", isPseudo: true);
+ static final Keyword ON = const Keyword("on", isPseudo: true);
static final Keyword SET = const Keyword("set", isPseudo: true);
static final Keyword SOURCE = const Keyword("source", isPseudo: true);
static final Keyword STATIC = const Keyword("static", isPseudo: true);
@@ -98,6 +99,7 @@ class Keyword implements SourceString {
NATIVE,
NEGATE,
OPERATOR,
+ ON,
SET,
SOURCE,
STATIC,
« no previous file with comments | « dart/lib/compiler/implementation/resolver.dart ('k') | dart/lib/compiler/implementation/scanner/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698