Skip to content

Commit

Permalink
issue #8914 Double Square Bracket – somewhere – stop Doxygen
Browse files Browse the repository at this point in the history
Doxygen sees, even in comment, the consecutive double open square brackets as the start of a C++11 attribute.
Defining specific rule for C++ and starting square bracket in a string.
  • Loading branch information
albert-github committed Nov 26, 2021
1 parent c838133 commit 78929f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scanner.l
Original file line number Diff line number Diff line change
Expand Up @@ -5383,6 +5383,7 @@ NONLopt [^\n]*
<SkipString,SkipPHPString>\n {
lineCount(yyscanner);
}
<SkipString>"[[" { }
<SkipString,SkipPHPString>. { }
<CompoundName>":" { // for "class : public base {} var;" construct, see bug 608359
unput(':');
Expand Down

0 comments on commit 78929f9

Please sign in to comment.