[antlr-interest] Anyone built the example C grammar successfully?
John D. Mitchell
johnm-antlr at non.net
Tue May 24 10:14:34 PDT 2005
>>>>> "Paul" == Paul Johnson <gt54-antlr at cyconix.com> writes:
> Has anyone managed to build John Mitchell's/Monty Zukowski's C grammar
> (http://www.antlr.org/grammar/cgram)? I've tried this on gcj 3.3, gcj
> 3.4.3, and javac 1.5.0_03, and none of them can compile more than a few
> files. I don't know any Java, which doesn't help, but it looks it may be
> like an import or compilation order problem:
I've been working with it using Java v1.4.x recently without problem.
But, I haven't tried it with either Java v1.5.x or GCJ.
[...]
> ./TNode.java:9: '.' expected import CToken; ^
Hmm... Is that a clash with the new "static" imports in Java v1.5?
Thanks,
John
More information about the antlr-interest
mailing list