[antlr-interest] Generated code dismatch
Sergiy Karpenko
bergschloss at ukr.net
Fri Nov 7 03:38:31 PST 2008
Hi all
There is a problem, I use antlrworks-1.2.1 which use antlr-3.1.1 and it genrate code well.
But when I use antlr3-maven-plugin with same antlr-3.1.1 it generates wrong code
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
<version>3.1.1</version>
<scope>compile</scope>
</dependency>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>antlr3-maven-plugin</artifactId>
<version>1.0</version>
<configuration>
<!--libDirectory>target/generated-sources/antlr/org/exoplatform/services/jcr/impl/core/query/antlr</libDirectory-->
<includes>
<include>**/FullText.g</include>
<include>**/SQL2.g</include>
</includes>
</configuration>
<executions>
<execution>
<goals>
<goal>antlr</goal>
</goals>
</execution>
</executions>
</plugin>
There is
"cannot find symbol : variable _fsp"
differense between two ganerated code is:
state._fsp--; in first case
and
_fsp--; in second case
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081107/119b0c85/attachment.html
More information about the antlr-interest
mailing list