diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-07-18 19:47:03 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-07-18 19:47:03 (GMT) |
commit | ea4704b4fde1c7b12520e45f5a67fdbc66d04e36 (patch) | |
tree | 6409d19be4f75548825a856ab0a7bd9921ad4996 /src/docparser.cpp | |
parent | dfb480bec3fddc5f73fa74e659b8f21fba2fd52c (diff) | |
download | Doxygen-ea4704b4fde1c7b12520e45f5a67fdbc66d04e36.zip Doxygen-ea4704b4fde1c7b12520e45f5a67fdbc66d04e36.tar.gz Doxygen-ea4704b4fde1c7b12520e45f5a67fdbc66d04e36.tar.bz2 |
Release-1.3.7-20040718
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index b324348..3f74dcf 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -1251,6 +1251,17 @@ DocAnchor::DocAnchor(DocNode *parent,const QString &id,bool newAnchor) //--------------------------------------------------------------------------- +DocVerbatim::DocVerbatim(DocNode *parent,const QString &context, + const QString &text, Type t,bool isExample, + const QString &exampleFile) + : m_parent(parent), m_context(context), m_text(text), m_type(t), + m_isExample(isExample), m_exampleFile(exampleFile), m_relPath(g_relPath) +{ +} + + +//--------------------------------------------------------------------------- + void DocInclude::parse() { DBG(("DocInclude::parse(file=%s,text=%s)\n",m_file.data(),m_text.data())); @@ -1480,7 +1491,7 @@ bool DocXRefItem::parse() //--------------------------------------------------------------------------- DocFormula::DocFormula(DocNode *parent,int id) : - m_parent(parent) + m_parent(parent), m_relPath(g_relPath) { QString formCmd; formCmd.sprintf("\\form#%d",id); @@ -4117,7 +4128,7 @@ int DocPara::handleHtmlStartTag(const QString &tagName,const HtmlAttribList &tag break; case HTML_UNKNOWN: warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: Unsupported html tag <%s> found", tagName.data()); - m_children.append(new DocWord(this, "<"+tagName+">")); + m_children.append(new DocWord(this, "<"+tagName+tagHtmlAttribs.toString()+">")); break; break; default: @@ -4257,8 +4268,8 @@ int DocPara::handleHtmlEndTag(const QString &tagName) // ignore </a> tag (can be part of <a name=...></a> break; case HTML_UNKNOWN: - warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: Unsupported html tag </%s> found", - tagName.data()); + warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: Unsupported html tag </%s> found", tagName.data()); + m_children.append(new DocWord(this,"</"+tagName+">")); break; default: // we should not get here! |