[rene at debian.org: javacc help needed]
paul-debian at home.paulcager.org
Sun Nov 4 22:48:02 UTC 2007
Paul Cager wrote:
> Rene Engelhard wrote:
>> Gar. Double typo...
>> ----- Forwarded message from Rene Engelhard <rene at debian.org> -----
>> When removing the generated files, re-building the parser and trying the
>> build it fails, though (not at the &6 ;) ) when trying to build the
> At first sight it looks as though upstream have provided their own
> "ParseException" class, replacing the one that JavaCC would normally
> generate. This sort of thing is not that unusual with JavaCC, as JavaCC
> doesn't provide easy ways for developers to specify base classes for
> Token, SimpleNode, ParseException etc (some of that will change in
> JavaCC 4.1).
Yes, it is just the "ParseException" class upstream have modified. You
could delete the other bolier-plate classes (Token.java etc) but there's
probably little point - they don't change even if you change the parser
specification (in Parser.jj). The real dynamic files are Parser.java,
ParserTokenManager.java and ParserConstants.java (but these always get
overwritten by JavaCC anyway).
More information about the pkg-java-maintainers