1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / util / CommentRecorderScanner.java
index fc68d4f..c20030e 100644 (file)
@@ -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];
                }