diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-03-24 11:51:51 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-03-24 11:51:51 (GMT) |
commit | deaa34e0c1d990f37fe00e465ac7a22f705904f0 (patch) | |
tree | 8d5749ba8d587d7b753162c524b18f7e7cdf6a0b /src/commentscan.l | |
parent | aacd1557af129e2bff3514169e04168376a2431b (diff) | |
download | Doxygen-deaa34e0c1d990f37fe00e465ac7a22f705904f0.zip Doxygen-deaa34e0c1d990f37fe00e465ac7a22f705904f0.tar.gz Doxygen-deaa34e0c1d990f37fe00e465ac7a22f705904f0.tar.bz2 |
Release-1.8.3.1-20130324
Diffstat (limited to 'src/commentscan.l')
-rw-r--r-- | src/commentscan.l | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index b851d81..9b2994a 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -1188,11 +1188,23 @@ RCSTAG "$"{ID}":"[^\n$]+"$" { // see bug 613024, we need to put the newlines after ending the XRef section. setOutput(OutputDoc); - addOutput("\n\n"); + int i; + for (i=0;i<yyleng;) + { + if (yytext[i]=='\n') addOutput('\n'),i++; + else if (strcmp(yytext+i,"\\_linebr")==0) addOutput('\n'),i+=8; + else i++; + } } else if (inContext!=OutputBrief) { - addOutput("\n\n"); + int i; + for (i=0;i<yyleng;) + { + if (yytext[i]=='\n') addOutput('\n'),i++; + else if (strcmp(yytext+i,"\\_linebr")==0) addOutput('\n'),i+=8; + else i++; + } setOutput(OutputDoc); } else // inContext==OutputBrief |