diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-07-04 18:58:02 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-07-04 18:58:02 (GMT) |
commit | c1605e5b6df0248e8dae3a578a89885f26b41c88 (patch) | |
tree | 664f7eba133cf2b4d4e8add25229777806fc9b8c /src/scanner.l | |
parent | 6b195c8d27c7cba3885acf1540f33ea7f51b9d1b (diff) | |
download | Doxygen-c1605e5b6df0248e8dae3a578a89885f26b41c88.zip Doxygen-c1605e5b6df0248e8dae3a578a89885f26b41c88.tar.gz Doxygen-c1605e5b6df0248e8dae3a578a89885f26b41c88.tar.bz2 |
Release-1.3.7-20040704
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 15 |
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); |