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

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

Issue 10984093: Remove support for impossible AST structure (and a couple of warnings) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
Index: compiler/java/com/google/dart/compiler/parser/DartScanner.java
===================================================================
--- compiler/java/com/google/dart/compiler/parser/DartScanner.java (revision 13031)
+++ compiler/java/com/google/dart/compiler/parser/DartScanner.java (working copy)
@@ -612,15 +612,12 @@
/**
* Called when comments are identified to aggregate the total number of comment lines and comment
- * characters then delegate to {@link #recordCommentLocation(int, int, int, int)}. This provides
+ * characters then delegate to {@link #recordCommentLocation(int, int)}. This provides
* a light weight way to track how much of the code is made up of comments without having to keep
* all comments.
*
* @param start the character position of the second character in the comment
* @param stop the character position of the final character in the comment
- * @param startLine the line number at <code>start</code>
- * @param endLine the line number of the last line of the comment
- * @param col the column number at <code>start</code>
*/
private void commentLocation(int start, int stop) {
if (start <= lastCommentStart && stop <= lastCommentStop) {

Powered by Google App Engine
This is Rietveld 408576698