diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-07-30 12:38:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-30 12:38:55 (GMT) |
commit | c66819178d20e9373ab3ecfbd32f2be73cc2e14a (patch) | |
tree | 138b116a969b8d56faa93fb301c7a4fab903ffe9 /src | |
parent | 6c2946ad3265075b63a952b75716844af47bcfac (diff) | |
parent | ef5af7618fbec3ac240e7a1099607d9ff2b3cc4f (diff) | |
download | Doxygen-c66819178d20e9373ab3ecfbd32f2be73cc2e14a.zip Doxygen-c66819178d20e9373ab3ecfbd32f2be73cc2e14a.tar.gz Doxygen-c66819178d20e9373ab3ecfbd32f2be73cc2e14a.tar.bz2 |
Merge pull request #7116 from albert-github/feature/bug_comment_recognition
Problem with with comment recognition for group open and closing commands
Diffstat (limited to 'src')
-rw-r--r-- | src/scanner.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scanner.l b/src/scanner.l index fcc7b8e..5ecf261 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -2849,7 +2849,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) } } -<FindMembers,FindFields>("//"([!/]?){B}*{CMD}"{")|("/*"([!*]?){B}*{CMD}"{") { +<FindMembers,FindFields>("//"([!/]){B}*{CMD}"{")|("/*"([!*]){B}*{CMD}"{") { //handleGroupStartCommand(current->name); if (previous && previous->section==Entry::GROUPDOC_SEC) { @@ -2901,7 +2901,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) } } } -<FindMembers,FindFields,ReadInitializer>"//"([!/]?){B}*{CMD}"}".*|"/*"([!*]?){B}*{CMD}"}"[^*]*"*/" { +<FindMembers,FindFields,ReadInitializer>"//"([!/]){B}*{CMD}"}".*|"/*"([!*]){B}*{CMD}"}"[^*]*"*/" { bool insideEnum = YY_START==FindFields || (YY_START==ReadInitializer && lastInitializerContext==FindFields); // see bug746226 Doxygen::docGroup.close(current,yyFileName,yyLineNr,insideEnum); } |