diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-02-23 20:49:55 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-02-23 20:49:55 (GMT) |
commit | 448b28836eb910f95e2f1903b4dea5eb8548e424 (patch) | |
tree | 4163d92b8a5b2126fe8413cc21df8eb3f247dbfa /src/docparser.cpp | |
parent | 067ee3cfc7a79acd42cedb3f89713b9ed5f47f93 (diff) | |
download | Doxygen-448b28836eb910f95e2f1903b4dea5eb8548e424.zip Doxygen-448b28836eb910f95e2f1903b4dea5eb8548e424.tar.gz Doxygen-448b28836eb910f95e2f1903b4dea5eb8548e424.tar.bz2 |
Doxygen-1.3-rc3-20030223
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 05dd5bd..4657ae5 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -664,6 +664,8 @@ const char *DocStyleChange::styleString() const case DocStyleChange::Subscript: return "subscript"; case DocStyleChange::Superscript: return "superscript"; case DocStyleChange::Preformatted: return "pre"; + case DocStyleChange::Div: return "div"; + case DocStyleChange::Span: return "span"; } return "<invalid>"; } @@ -883,6 +885,12 @@ reparsetoken: { switch (HtmlTagMapper::map(tokenName)) { + case HTML_DIV: + warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: found <div> tag in heading\n"); + break; + case HTML_PRE: + warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: found <pre> tag in heading\n"); + break; case HTML_BOLD: if (!g_token->endTag) { @@ -893,20 +901,6 @@ reparsetoken: handleStyleLeave(parent,children,DocStyleChange::Bold,tokenName); } break; - case HTML_PRE: - if (!g_token->endTag) - { - handleStyleEnter(parent,children,DocStyleChange::Preformatted,&g_token->attribs); - parent->setInsidePreformatted(TRUE); - //doctokenizerYYsetInsidePre(TRUE); - } - else - { - handleStyleLeave(parent,children,DocStyleChange::Preformatted,tokenName); - parent->setInsidePreformatted(FALSE); - //doctokenizerYYsetInsidePre(FALSE); - } - break; case HTML_CODE: if (!g_token->endTag) { |