diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-03-24 20:39:59 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-03-24 20:39:59 (GMT) |
commit | 707831ea739af5ae137c9cc1d04e3ffbbde11a6a (patch) | |
tree | 1e47a4443afb2ec61f032669050ee1b8834baa8d /src/commentscan.l | |
parent | 23b0a90048405fda4e4304052c3c1277c33a6a2b (diff) | |
download | Doxygen-707831ea739af5ae137c9cc1d04e3ffbbde11a6a.zip Doxygen-707831ea739af5ae137c9cc1d04e3ffbbde11a6a.tar.gz Doxygen-707831ea739af5ae137c9cc1d04e3ffbbde11a6a.tar.bz2 |
Release-1.6.3-20100324
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 5306075..902a4f4 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -1031,13 +1031,25 @@ RCSTAG "$"{ID}":"[^\n$]+"$" <Comment>".," { // . with comma such as "e.g.," addOutput(yytext); } +<Comment>"...\\"[ \t] { // ellipsis with escaped space. + addOutput("... "); + } +<Comment>".."[\.]?/[^ \t\n] { // internal ellipsis + addOutput(yytext); + } <Comment>(\n|\\_linebr)({B}*(\n|\\_linebr))+ { // at least one blank line (or blank line command) - if (inContext!=OutputBrief) + if (inContext==OutputXRef) + { + // see bug 613024, we need to put the newlines after ending the XRef section. + setOutput(OutputDoc); + addOutput("\n\n"); + } + else if (inContext!=OutputBrief) { addOutput("\n\n"); setOutput(OutputDoc); } - else + else // inContext==OutputBrief { // only go to the detailed description if we have // found some brief description and not just whitespace endBrief(FALSE); |