Fix syntax error for misplaced Doxygen comment after struct/class member.
Fix syntax error using Doxygen member groups syntax, "///*}", when used after final struct/class member. Issue #1636
This commit is contained in:
parent
dc04564023
commit
8a24c19d26
6 changed files with 45 additions and 1 deletions
|
|
@ -4668,7 +4668,11 @@ cpp_members : cpp_member cpp_members {
|
|||
} else {
|
||||
$$ = $2;
|
||||
}
|
||||
}
|
||||
}
|
||||
| cpp_member DOXYGENSTRING {
|
||||
/* Misplaced doxygen string after a member, quietly ignore, like Doxygen does */
|
||||
$$ = $1;
|
||||
}
|
||||
| EXTEND LBRACE {
|
||||
extendmode = 1;
|
||||
if (cplus_mode != CPLUS_PUBLIC) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue