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

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

Issue 10945027: Remove >>> and >>>= from scanner. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments 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 | « dart/lib/compiler/implementation/scanner/scanner.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/scanner/token.dart
diff --git a/dart/lib/compiler/implementation/scanner/token.dart b/dart/lib/compiler/implementation/scanner/token.dart
index 7646e4ef6cec1bf630b10de77e386f68acedd7a4..6a9d30248de3b4bf0893b83d0c083496bf9e4689 100644
--- a/dart/lib/compiler/implementation/scanner/token.dart
+++ b/dart/lib/compiler/implementation/scanner/token.dart
@@ -53,8 +53,7 @@ const int LT_LT_EQ_TOKEN = EQ_EQ_TOKEN + 1;
const int LT_LT_TOKEN = LT_LT_EQ_TOKEN + 1;
const int GT_EQ_TOKEN = LT_LT_TOKEN + 1;
const int GT_GT_EQ_TOKEN = GT_EQ_TOKEN + 1;
-const int GT_GT_GT_EQ_TOKEN = GT_GT_EQ_TOKEN + 1;
-const int INDEX_EQ_TOKEN = GT_GT_GT_EQ_TOKEN + 1;
+const int INDEX_EQ_TOKEN = GT_GT_EQ_TOKEN + 1;
const int INDEX_TOKEN = INDEX_EQ_TOKEN + 1;
const int BANG_EQ_EQ_TOKEN = INDEX_TOKEN + 1;
const int BANG_EQ_TOKEN = BANG_EQ_EQ_TOKEN + 1;
@@ -75,7 +74,6 @@ const int CARET_EQ_TOKEN = GT_GT_TOKEN + 1;
const int IS_TOKEN = CARET_EQ_TOKEN + 1;
const int AS_TOKEN = IS_TOKEN + 1;
const int COMMENT_TOKEN = AS_TOKEN + 1;
-const int GT_GT_GT_TOKEN = COMMENT_TOKEN + 1;
const int STRING_INTERPOLATION_IDENTIFIER_TOKEN = COMMENT_TOKEN + 1;
// TODO(ahe): Get rid of this.
@@ -270,7 +268,6 @@ bool isUserDefinableOperator(String value) {
(value === '+') ||
(value === '-') ||
(value === '<<') ||
- (value === '>>>') ||
(value === '>>') ||
(value === '>=') ||
(value === '>') ||
@@ -355,9 +352,6 @@ const PrecedenceInfo EQ_INFO =
const PrecedenceInfo GT_GT_EQ_INFO =
const PrecedenceInfo(const SourceString('>>='),
ASSIGNMENT_PRECEDENCE, GT_GT_EQ_TOKEN);
-const PrecedenceInfo GT_GT_GT_EQ_INFO =
- const PrecedenceInfo(const SourceString('>>>='),
- ASSIGNMENT_PRECEDENCE, GT_GT_GT_EQ_TOKEN);
const PrecedenceInfo LT_LT_EQ_INFO =
const PrecedenceInfo(const SourceString('<<='),
ASSIGNMENT_PRECEDENCE, LT_LT_EQ_TOKEN);
@@ -423,8 +417,6 @@ const PrecedenceInfo LT_INFO =
const PrecedenceInfo(const SourceString('<'), 10, LT_TOKEN);
// Shift operators.
-const PrecedenceInfo GT_GT_GT_INFO =
- const PrecedenceInfo(const SourceString('>>>'), 11, GT_GT_GT_TOKEN);
const PrecedenceInfo GT_GT_INFO =
const PrecedenceInfo(const SourceString('>>'), 11, GT_GT_TOKEN);
const PrecedenceInfo LT_LT_INFO =
« no previous file with comments | « dart/lib/compiler/implementation/scanner/scanner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698