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

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

Issue 10892005: Revert "Support unary - operator." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 87aeaf6fd520e97dde87a0cd95fe2be4a793b833..37bed21d1bd53882e76c22759467ab5e45bad7f6 100644
--- a/dart/lib/compiler/implementation/scanner/keyword.dart
+++ b/dart/lib/compiler/implementation/scanner/keyword.dart
@@ -48,6 +48,7 @@ class Keyword implements SourceString {
static const Keyword INTERFACE = const Keyword("interface", isPseudo: true);
static const Keyword LIBRARY = const Keyword("library", isPseudo: true);
static const Keyword NATIVE = const Keyword("native", isPseudo: true);
+ static const Keyword NEGATE = const Keyword("negate", isPseudo: true);
static const Keyword OPERATOR = const Keyword("operator", isPseudo: true);
static const Keyword ON = const Keyword("on", isPseudo: true);
static const Keyword SET = const Keyword("set", isPseudo: true);
@@ -96,6 +97,7 @@ class Keyword implements SourceString {
INTERFACE,
LIBRARY,
NATIVE,
+ NEGATE,
OPERATOR,
ON,
SET,

Powered by Google App Engine
This is Rietveld 408576698