X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/TrueLiteral.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/TrueLiteral.java index efc37a7..d3f13bc 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/TrueLiteral.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/TrueLiteral.java @@ -1,7 +1,6 @@ package net.sourceforge.phpdt.internal.compiler.ast; -import java.util.List; -import java.util.ArrayList; +import test.Token; /** * the true literal. @@ -9,14 +8,8 @@ import java.util.ArrayList; */ public class TrueLiteral extends MagicLiteral { - public static final char[] source = {'t', 'r', 'u', 'e'}; - - public TrueLiteral(final int sourceStart, final int sourceEnd) { - super(sourceStart, sourceEnd); - } - - public char[] source() { - return source; + public TrueLiteral(Token token) { + super(token.sourceStart, token.sourceEnd); } /**