[antlr-interest] newbie antlrworks question

Bruce Bauman bruce.bauman at andesaservices.com
Mon Mar 23 07:13:21 PDT 2009


I am trying to write my own lexical filter using ANTLR. When I run
antlrworks debug mode on FuzzyJava.g from the V3 examples I get the
following error:

 

[10:09:18] Checking Grammar...

[10:09:27] error: cannot read:
/home/bbauman/antlr/andesa/examples/examples-v3/java/fuzzy/output/null.j
ava

[10:09:27] 1 error

[10:09:27]
/home/bbauman/antlr/andesa/examples/examples-v3/java/fuzzy/output/__Test
__.java:12: <identifier> expected

[10:09:27]  g = new (tokens, 49100, null);

[10:09:27]          ^

[10:09:27]
/home/bbauman/antlr/andesa/examples/examples-v3/java/fuzzy/output/__Test
__.java:12: '(' or '[' expected

[10:09:27]  g = new (tokens, 49100, null);

[10:09:27]                               ^

[10:09:27] 2 error

 

What am I doing wrong?

 

Thanks.

 

-- Bruce

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090323/2730aa01/attachment.html 


More information about the antlr-interest mailing list