summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/doc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qdoc3/doc.cpp b/tools/qdoc3/doc.cpp
index 8d4d0ee..ce9e30d 100644
--- a/tools/qdoc3/doc.cpp
+++ b/tools/qdoc3/doc.cpp
@@ -562,6 +562,8 @@ void DocParser::parse(const QString& source,
leavePara();
x = getArgument(true);
append(Atom::Div, x);
+ openedCommands.push(cmd);
+ enterPara();
break;
case CMD_CODELINE:
{
@@ -631,6 +633,7 @@ void DocParser::parse(const QString& source,
closeCommand(cmd);
break;
case CMD_ENDDIV:
+ leavePara();
append(Atom::EndDiv);
closeCommand(cmd);
break;