X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/CommentRecorderScanner.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/CommentRecorderScanner.java index fc68d4f..c20030e 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/CommentRecorderScanner.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/CommentRecorderScanner.java @@ -39,9 +39,9 @@ public class CommentRecorderScanner extends Scanner { * * @see net.sourceforge.phpdt.internal.compiler.parser.Scanner#recordComment(int) */ - public void recordComment(int token) { + public void recordComment(TokenName token) { super.recordComment(token); - if (token == TokenNameCOMMENT_LINE) { + if (token == TokenName.COMMENT_LINE) { // for comment line both positions are negative this.commentStarts[this.commentPtr] = -this.commentStarts[this.commentPtr]; }