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

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

Issue 9232041: Remove support for >>> and >>>= operators in dartc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove >>> and >>>= operators Created 8 years, 11 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: compiler/java/com/google/dart/compiler/parser/DartParser.java
diff --git a/compiler/java/com/google/dart/compiler/parser/DartParser.java b/compiler/java/com/google/dart/compiler/parser/DartParser.java
index fdbd834733645a98fcd3cbca59a33f1772538f2b..1d1fea01e0f1c1456c369dcc263b5457c4c901ec 100644
--- a/compiler/java/com/google/dart/compiler/parser/DartParser.java
+++ b/compiler/java/com/google/dart/compiler/parser/DartParser.java
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -705,9 +705,6 @@ public class DartParser extends CompletionHooksParserBase {
case SAR: // >>
nestingLevel -= 2;
break;
- case SHR: // >>>
- nestingLevel -= 3;
- break;
case COMMA:
case IDENTIFIER:
break;
@@ -2271,9 +2268,6 @@ public class DartParser extends CompletionHooksParserBase {
case SHL:
count += 2;
break;
- case SHR: // >>>
- count -= 3;
- break;
case SAR: // >>
count -= 2;
break;
@@ -3725,9 +3719,6 @@ public class DartParser extends CompletionHooksParserBase {
case SAR:
setPeek(0, Token.GT);
return true;
- case SHR:
- setPeek(0, Token.SAR);
- return true;
default:
return false;
}
@@ -3758,7 +3749,6 @@ public class DartParser extends CompletionHooksParserBase {
case GT:
case SAR:
- case SHR:
// qualified < qualified2 >
case COMMA:
// qualified < qualified2 ,

Powered by Google App Engine
This is Rietveld 408576698