summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-02-09 15:07:19 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-02-09 15:07:19 (GMT)
commit1c5abe7676b09a11bf215e08f74d3813a7d344bd (patch)
tree4ed9ec4a4eda9d4e93ee61626e217dca65ec90d1 /tools
parente442cb8e772eeebbe66ebc89a4d6a429d12f86cb (diff)
downloadQt-1c5abe7676b09a11bf215e08f74d3813a7d344bd.zip
Qt-1c5abe7676b09a11bf215e08f74d3813a7d344bd.tar.gz
Qt-1c5abe7676b09a11bf215e08f74d3813a7d344bd.tar.bz2
Ensured that \code commands do not reuse the current code marker.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/doc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/doc.cpp b/tools/qdoc3/doc.cpp
index a730799..b565e54 100644
--- a/tools/qdoc3/doc.cpp
+++ b/tools/qdoc3/doc.cpp
@@ -551,7 +551,7 @@ void DocParser::parse(const QString& source,
break;
case CMD_CODE:
leavePara();
- append(Atom::Code, getCode(CMD_CODE, marker));
+ append(Atom::Code, getCode(CMD_CODE, 0));
break;
#ifdef QDOC_QML
case CMD_QML: