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

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

Issue 10704180: Use 'int' instead of Position. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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/DartParserCommentsHelper.java
diff --git a/compiler/java/com/google/dart/compiler/parser/DartParserCommentsHelper.java b/compiler/java/com/google/dart/compiler/parser/DartParserCommentsHelper.java
index 6633dc506207eb6ef82ebfcdd89955c33013006f..b9f6d3923af1c82fd610ad470a6238bffc91f3f2 100644
--- a/compiler/java/com/google/dart/compiler/parser/DartParserCommentsHelper.java
+++ b/compiler/java/com/google/dart/compiler/parser/DartParserCommentsHelper.java
@@ -53,7 +53,7 @@ public class DartParserCommentsHelper {
}
@Override
- protected void recordCommentLocation(int start, int stop, int line, int col) {
+ protected void recordCommentLocation(int start, int stop) {
int size = commentLocs.size();
if (size > 0) {
// the parser may re-scan lookahead tokens

Powered by Google App Engine
This is Rietveld 408576698