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..1509737 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,5 +1,7 @@ package net.sourceforge.phpdt.internal.compiler.ast; +import test.Token; + import java.util.List; import java.util.ArrayList; @@ -9,14 +11,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); } /**