Recognise and ignore Doxygen group commands @{ and @}

Fixes #1750
This commit is contained in:
Olly Betts 2022-04-07 12:05:54 +12:00
commit 1aeaa2a644
6 changed files with 33 additions and 5 deletions

View file

@ -133,6 +133,15 @@ struct SomeAnotherStruct
}
};
struct Foo1750
{
/// @name Group name
/// @{
int a;
/// @}
int b;
};
#ifdef SWIGPYTHON_BUILTIN
bool is_python_builtin() { return true; }
#else

View file

@ -132,6 +132,14 @@ public class doxygen_parsing_runme {
wantedComments.put("doxygen_parsing.doxygen_parsingConstants.CONSTANT_VALUE",
"The constant comment \n" +
"");
wantedComments.put("doxygen_parsing.Foo1750.getA()",
"");
wantedComments.put("doxygen_parsing.Foo1750.getB()",
"");
wantedComments.put("doxygen_parsing.Foo1750.setA(int)",
"");
wantedComments.put("doxygen_parsing.Foo1750.setB(int)",
"");
// and ask the parser to check comments for us
System.exit(CommentParser.check(wantedComments));