diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-10-20 20:01:55 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-10-20 20:03:02 (GMT) |
commit | 13e2b18c93df1351c4e91d13a7fe224b4841fa73 (patch) | |
tree | 9d526226b3631a907f5f96c235c613330750df77 /src/commentscan.l | |
parent | 327422d131ed5e6ddf280043b5a56a6fb92d3bbc (diff) | |
download | Doxygen-13e2b18c93df1351c4e91d13a7fe224b4841fa73.zip Doxygen-13e2b18c93df1351c4e91d13a7fe224b4841fa73.tar.gz Doxygen-13e2b18c93df1351c4e91d13a7fe224b4841fa73.tar.bz2 |
Bug 754184 - \bug paragraph doesn't end with a new sectioning command
Diffstat (limited to 'src/commentscan.l')
-rw-r--r-- | src/commentscan.l | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index 3ce53df..cf892a0 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -1032,23 +1032,6 @@ RCSTAG "$"{ID}":"[^\n$]+"$" <Comment>("\\"[a-z_A-Z]+)+"\\" { // directory (or chain of commands!) addOutput(yytext); } -<Comment>{XREFCMD}/[^a-z_A-Z]* { // xref command - if (inContext!=OutputXRef) - { - briefEndsAtDot=FALSE; - setOutput(OutputDoc); - } - // continue with the same input - REJECT; - } - /* -<Comment>{DETAILEDCMD}/[^a-z_A-Z]* { // command that can end a brief description - briefEndsAtDot=FALSE; - setOutput(OutputDoc); - // continue with the same input - REJECT; - } - */ <Comment>"<"{DETAILEDHTML}{ATTR}">" { // HTML command that ends a brief description setOutput(OutputDoc); // continue with the same input @@ -1127,8 +1110,8 @@ RCSTAG "$"{ID}":"[^\n$]+"$" int i=0; while (yytext[i]==' ' || yytext[i]=='\t') i++; g_spaceBeforeCmd = QCString(yytext).left(i); - if (cmdPtr->endsBrief && inContext!=OutputXRef) - { + if (cmdPtr->endsBrief && !(inContext==OutputXRef && cmdName=="parblock")) + { briefEndsAtDot=FALSE; // this command forces the end of brief description setOutput(OutputDoc); |