Improved handling of Doxygen comments in parameter lists
Fix garbled Doxygen post comments in parameter lists. Fix syntax error parsing a trailing Doxygen comment in parameter lists. Closes #2023
This commit is contained in:
parent
f7b4127310
commit
dc04564023
4 changed files with 92 additions and 44 deletions
|
|
@ -138,6 +138,27 @@
|
|||
};
|
||||
};
|
||||
|
||||
/// SIOBeam struct description
|
||||
struct SIOBeam {
|
||||
|
||||
/** testfunction - testing extra trailing doc comment */
|
||||
void testfunction(
|
||||
/** testfunction aaa parm */
|
||||
int testf_aaa,
|
||||
/** testfunction bbb parm */
|
||||
double testf_bbb,
|
||||
/** testfunction ccc parm */
|
||||
bool testf_ccc /** testfunction more for two parm */
|
||||
) {}
|
||||
|
||||
/// Constructor for input from an existing SIO file
|
||||
explicit SIOBeam(
|
||||
const char * filename, ///< Name of input SIO file.
|
||||
int elevationOrder=1, ///< Interpolation order (0-3) in elevation
|
||||
int bearingOrder=1 ///< Interpolation order (0-3) in bearing
|
||||
) {}
|
||||
};
|
||||
|
||||
/// @return This is a bad place for this tag, but it should be ignored.
|
||||
struct StructWithReturnComment {};
|
||||
|
||||
|
|
|
|||
|
|
@ -122,9 +122,6 @@ public class doxygen_misc_constructs_runme {
|
|||
wantedComments.put("doxygen_misc_constructs.ClassWithNestedEnum.ENestedOdd.ODD_THREE",
|
||||
" desc of odd_three\n");
|
||||
|
||||
wantedComments.put("doxygen_misc_constructs.StructWithReturnComment",
|
||||
" @return This is a bad place for this tag, but it should be ignored.");
|
||||
|
||||
wantedComments.put("doxygen_misc_constructs.ClassWithNestedEnum.ENestedOddPartial1",
|
||||
" ENestedOddPartial1 description.\n" +
|
||||
"\n");
|
||||
|
|
@ -158,6 +155,35 @@ public class doxygen_misc_constructs_runme {
|
|||
wantedComments.put("doxygen_misc_constructs.ClassWithNestedEnum.TESTENUM.TEST_TWO",
|
||||
" something for two something more for two\n");
|
||||
|
||||
wantedComments.put("doxygen_misc_constructs.SIOBeam",
|
||||
" SIOBeam struct description\n" +
|
||||
"\n");
|
||||
|
||||
wantedComments.put("doxygen_misc_constructs.SIOBeam.testfunction(int, double, boolean)",
|
||||
" testfunction - testing extra trailing doc comment <br>\n" +
|
||||
" @param testf_aaa testfunction aaa parm <br>\n" +
|
||||
" @param testf_bbb testfunction bbb parm <br>\n" +
|
||||
" @param testf_ccc testfunction ccc parm testfunction more for two parm\n" +
|
||||
"\n");
|
||||
|
||||
wantedComments.put("doxygen_misc_constructs.SIOBeam(java.lang.String, int, int)",
|
||||
" Constructor for input from an existing SIO file<br>\n" +
|
||||
" @param filename Name of input SIO file.<br>\n" +
|
||||
" @param elevationOrder Interpolation order (0-3) in elevation<br>\n" +
|
||||
" @param bearingOrder Interpolation order (0-3) in bearing\n" +
|
||||
"\n");
|
||||
|
||||
wantedComments.put("doxygen_misc_constructs.SIOBeam(java.lang.String, int)",
|
||||
" Constructor for input from an existing SIO file<br>\n" +
|
||||
" @param filename Name of input SIO file.<br>\n" +
|
||||
" @param elevationOrder Interpolation order (0-3) in elevation<br>\n" +
|
||||
"\n");
|
||||
|
||||
wantedComments.put("doxygen_misc_constructs.SIOBeam(java.lang.String)",
|
||||
" Constructor for input from an existing SIO file<br>\n" +
|
||||
" @param filename Name of input SIO file.<br>\n" +
|
||||
"\n");
|
||||
|
||||
wantedComments.put("doxygen_misc_constructs.StructWithReturnComment",
|
||||
" @return This is a bad place for this tag, but it should be ignored.");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue