[antlr-interest] Cosmetic Issue in Generated Java Parsers w.r.t. JavaDoc Comments
Randall R Schulz
rschulz at sonic.net
Fri Jul 27 16:29:40 PDT 2007
Hi,
I added a JavaDoc comment in the @header section of my grammar
specification hoping to have it show up in the generated JavaDocs when
run on the resulting Java sources.
Unfortunately, ANTLR injects import directives between the end of the
content it copies from the @header section and the beginning of the
Java "class" definition. This precludes the JavaDoc comment from being
recognized as applying to the parser class.
It would be nice if the imports were placed above / before the @header
content.
Randall Schulz
More information about the antlr-interest
mailing list