summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-07-04 18:58:02 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-07-04 18:58:02 (GMT)
commit285d9c6265b673238b1a97bb7da5ea48aff16beb (patch)
tree664f7eba133cf2b4d4e8add25229777806fc9b8c /src/scanner.l
parentd3c3bbd02543280d12a763d82aa5b54ce516c57f (diff)
downloadDoxygen-285d9c6265b673238b1a97bb7da5ea48aff16beb.zip
Doxygen-285d9c6265b673238b1a97bb7da5ea48aff16beb.tar.gz
Doxygen-285d9c6265b673238b1a97bb7da5ea48aff16beb.tar.bz2
Release-1.3.7-20040704
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 08c116c..16bcd73 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -5500,12 +5500,23 @@ PHPKW ("require"|"require_once"|"include"|"include_once"|"echo")[^a-zA-Z0-9_;]
}
<Doc>"*/" {
checkDocs();
- current->doc += "\n\n";
//printf("End of docs at line %d: %s\n",yyLineNr,current->doc.data());
- if (lastDocContext==SkipCurly && Config_getBool("HIDE_IN_BODY_DOCS"))
+ if (lastDocContext==SkipCurly)
{
+ if (!Config_getBool("HIDE_IN_BODY_DOCS"))
+ {
+ if (!previous->doc.isEmpty())
+ {
+ previous->doc+="<p>";
+ }
+ previous->doc += current->doc;
+ }
current->doc.resize(0);
}
+ else
+ {
+ current->doc += "\n\n";
+ }
if (current->section==Entry::GROUPDOC_SEC)
{
current_root->addSubEntry(current);