I just found out you cannot use ! within lexer rules. It works now.

2011/4/6 Ben Corne <[email protected]>

> 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
>

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to