X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/test/PHPParserTokenManager.java b/net.sourceforge.phpeclipse/src/test/PHPParserTokenManager.java index 18f0cf2..ad97563 100644 --- a/net.sourceforge.phpeclipse/src/test/PHPParserTokenManager.java +++ b/net.sourceforge.phpeclipse/src/test/PHPParserTokenManager.java @@ -14,6 +14,8 @@ import net.sourceforge.phpdt.internal.compiler.parser.PHPOutlineInfo; import net.sourceforge.phpdt.internal.compiler.parser.PHPSegmentWithChildren; import net.sourceforge.phpdt.internal.compiler.parser.PHPFunctionDeclaration; import net.sourceforge.phpdt.internal.compiler.parser.PHPClassDeclaration; +import net.sourceforge.phpdt.internal.compiler.parser.PHPVarDeclaration; +import net.sourceforge.phpdt.internal.compiler.parser.PHPReqIncDeclaration; public class PHPParserTokenManager implements PHPParserConstants { @@ -1689,7 +1691,7 @@ static final long[] jjtoSpecial = { static final long[] jjtoMore = { 0x8e00L, 0x0L, 0x0L, }; -static private SimpleCharStream input_stream; +static protected SimpleCharStream input_stream; static private final int[] jjrounds = new int[56]; static private final int[] jjstateSet = new int[112]; static StringBuffer image; @@ -1734,7 +1736,7 @@ static public void SwitchTo(int lexState) curLexState = lexState; } -static private final Token jjFillToken() +static protected Token jjFillToken() { Token t = Token.newToken(jjmatchedKind); t.kind = jjmatchedKind; @@ -1754,7 +1756,7 @@ static int jjround; static int jjmatchedPos; static int jjmatchedKind; -public static final Token getNextToken() +public static Token getNextToken() { int kind; Token specialToken = null; @@ -1896,7 +1898,7 @@ public static final Token getNextToken() } } -static final void SkipLexicalActions(Token matchedToken) +static void SkipLexicalActions(Token matchedToken) { switch(jjmatchedKind) { @@ -1904,7 +1906,7 @@ static final void SkipLexicalActions(Token matchedToken) break; } } -static final void MoreLexicalActions() +static void MoreLexicalActions() { jjimageLen += (lengthOfMatch = jjmatchedPos + 1); switch(jjmatchedKind)