applied bill dudney's sugestion to fix m2 build so that it works from activemq-project

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@358584 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2005-12-22 16:23:33 +00:00
parent f823f11ece
commit 749c76d57f
3 changed files with 405 additions and 522 deletions

View File

@ -92,8 +92,8 @@
<execution>
<phase>generate-sources</phase>
<configuration>
<sourceDirectory>src/main/grammar</sourceDirectory>
<outputDirectory>src/main/java/org/activemq/selector</outputDirectory>
<sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
<outputDirectory>${basedir}/src/main/java/org/activemq/selector</outputDirectory>
</configuration>
<goals>
<goal>javacc</goal>

View File

@ -904,7 +904,7 @@ static final long[] jjtoSkip = {
static final long[] jjtoSpecial = {
0x3eL,
};
private SimpleCharStream input_stream;
protected SimpleCharStream input_stream;
private final int[] jjrounds = new int[43];
private final int[] jjstateSet = new int[86];
protected char curChar;
@ -946,7 +946,7 @@ public void SwitchTo(int lexState)
curLexState = lexState;
}
private final Token jjFillToken()
protected Token jjFillToken()
{
Token t = Token.newToken(jjmatchedKind);
t.kind = jjmatchedKind;
@ -966,7 +966,7 @@ int jjround;
int jjmatchedPos;
int jjmatchedKind;
public final Token getNextToken()
public Token getNextToken()
{
int kind;
Token specialToken = null;