[antlr-interest] doxygne comments in inherited grammar (v2.7.5)

Mathieu Clabaut mathieu.clabaut at gmail.com
Tue May 23 01:33:17 PDT 2006


 Hello everybody,

 I use doxygen to document the grammar and the generated files. But it
seems that in v2.7.5
the class and method comments get lost for inherited grammar (i.e.
Comments which are presents in the grammar which extends the main
grammar).

 Is their a trick to get those comments back (for now I put them in an
empy {} block and add doxygen specific tag such as /** @class
classname ....
 but if it works well for the generated documentation, it gives an
unatural way of documenting source grammar...

 Any tip appreciated...

 Happy antlring (oups quite cumbersom to say ... :-)


More information about the antlr-interest mailing list