[antlr-interest] @SuppressWarnings

Dennis Benzinger Dennis.Benzinger at gmx.net
Fri Feb 6 07:53:05 PST 2009


Hi Hendrik!

Am 06.02.2009 16:39, Hendrik Maryns schrieb:
> Hi all,
> 
> I’d like to have ANTLR put a @SuppressWarnings("all") at the top of each
> file it generates, such that I do not see the warnings in the Eclipse
> Problem view.
> 
> Any neat way of doing this?
> [...]

Try putting that in the @header section in your grammar.


HTH,
Dennis Benzinger


More information about the antlr-interest mailing list