[antlr-interest] Illegal option output

Ben Corne ben.corne at gmail.com
Wed Apr 6 04:31:05 PDT 2011


Hello

Attached is my grammar file.
When running antlr over it (with antlridev3 eclipse plugin), it states the
following error:

ANTLR Parser Generator 3.3 Nov 30, 2010 12:50:56.
Using project classpath: Yes.
Grammar: /home/bcorne/ATDOC/Documenter/grammar/Documentation.g
warning(149): Documentation__.g:0:0: rewrite syntax or operator with no
output option; setting output=AST
error(133): Documentation__.g:0:0: illegal option output

Any thoughts besides "you're missing the options block"? (I do have the
options block as you can verify)
I also tested this with "java -jar antlr-3.3-complete.jar Documentation.g"
using the latest antlr binary from antlr.org, with the same result.

Regards
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Documentation.g
Type: application/octet-stream
Size: 1062 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20110406/ccf1f61c/attachment.obj 


More information about the antlr-interest mailing list