diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-10-06 19:08:54 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-10-06 19:08:54 (GMT) |
commit | 4596b79abbfea0953c6cd7c6b294dc1727807960 (patch) | |
tree | c1062a06b0267bdf027f00efb00f1fb2b70db5c5 /src/xmldocvisitor.cpp | |
parent | 858708350c055a757c1e34461a06c5cf2277f2db (diff) | |
download | Doxygen-4596b79abbfea0953c6cd7c6b294dc1727807960.zip Doxygen-4596b79abbfea0953c6cd7c6b294dc1727807960.tar.gz Doxygen-4596b79abbfea0953c6cd7c6b294dc1727807960.tar.bz2 |
Release-1.2.18-20021006
Diffstat (limited to 'src/xmldocvisitor.cpp')
-rw-r--r-- | src/xmldocvisitor.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/xmldocvisitor.cpp b/src/xmldocvisitor.cpp index 43fda0b..e6cbd64 100644 --- a/src/xmldocvisitor.cpp +++ b/src/xmldocvisitor.cpp @@ -148,7 +148,7 @@ void XmlDocVisitor::visit(DocVerbatim *s) { case DocVerbatim::Code: // fall though m_t << "<programlisting>"; - parseCode(m_ci,s->context(),s->text().latin1(),FALSE,0); + parseCode(m_ci,s->context(),s->text().latin1(),s->isExample(),s->exampleFile()); m_t << "</programlisting>"; break; case DocVerbatim::Verbatim: @@ -182,7 +182,7 @@ void XmlDocVisitor::visit(DocInclude *inc) { case DocInclude::Include: m_t << "<programlisting>"; - parseCode(m_ci,inc->context(),inc->text().latin1(),FALSE,0); + parseCode(m_ci,inc->context(),inc->text().latin1(),inc->isExample(),inc->exampleFile()); m_t << "</programlisting>"; break; case DocInclude::DontInclude: @@ -211,7 +211,7 @@ void XmlDocVisitor::visit(DocIncOperator *op) } if (op->type()!=DocIncOperator::Skip) { - parseCode(m_ci,op->context(),op->text().latin1(),FALSE,0); + parseCode(m_ci,op->context(),op->text().latin1(),op->isExample(),op->exampleFile()); } if (op->isLast()) { @@ -302,7 +302,7 @@ void XmlDocVisitor::visitPost(DocRoot *) void XmlDocVisitor::visitPre(DocSimpleSect *s) { - m_t << "<simplesect kind=\">"; + m_t << "<simplesect kind=\""; switch(s->type()) { case DocSimpleSect::See: @@ -701,6 +701,14 @@ void XmlDocVisitor::visitPost(DocCopy *) { } +void XmlDocVisitor::visitPre(DocText *) +{ +} + +void XmlDocVisitor::visitPost(DocText *) +{ +} + void XmlDocVisitor::filter(const char *str) { if (str==0) return; |