*
* @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];
}