diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2003-08-24 20:42:56 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2003-08-24 20:42:56 (GMT) |
commit | 5b0de0b4249965d3ae2ca3e67f40ef810e0a9598 (patch) | |
tree | bfd280ef12015bf793b71236c30364c6618cbaf8 /src/docparser.cpp | |
parent | 8626ab32d671ffcdc75dffce04dd05a671cfb42c (diff) | |
download | Doxygen-5b0de0b4249965d3ae2ca3e67f40ef810e0a9598.zip Doxygen-5b0de0b4249965d3ae2ca3e67f40ef810e0a9598.tar.gz Doxygen-5b0de0b4249965d3ae2ca3e67f40ef810e0a9598.tar.bz2 |
Release-1.3.3-20030824
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 4cbb0a7..a66f659 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -572,12 +572,15 @@ static int handleStyleArgument(DocNode *parent,QList<DocNode> &children, g_token->name.data(),cmdName.data()); break; case TK_SYMBOL: - warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: Unsupported symbol %s found", - g_token->name.data()); + warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: Unsupported symbol %s found while handling command %s", + g_token->name.data(),cmdName.data()); + break; + case TK_HTMLTAG: + return tok; break; default: - warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: Unexpected token %s", - tokToString(tok)); + warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: Unexpected token %s while handling command %s", + tokToString(tok),cmdName.data()); break; } break; @@ -789,7 +792,7 @@ reparsetoken: children.append(new DocStyleChange(parent,g_nodeStack.count(),DocStyleChange::Italic,FALSE)); if (tok!=TK_WORD) children.append(new DocWhiteSpace(parent," ")); if (tok==TK_NEWPARA) goto handlepara; - else if (tok==TK_WORD) goto reparsetoken; + else if (tok==TK_WORD || tok==TK_HTMLTAG) goto reparsetoken; } break; case CMD_BOLD: @@ -799,7 +802,7 @@ reparsetoken: children.append(new DocStyleChange(parent,g_nodeStack.count(),DocStyleChange::Bold,FALSE)); if (tok!=TK_WORD) children.append(new DocWhiteSpace(parent," ")); if (tok==TK_NEWPARA) goto handlepara; - else if (tok==TK_WORD) goto reparsetoken; + else if (tok==TK_WORD || tok==TK_HTMLTAG) goto reparsetoken; } break; case CMD_CODE: @@ -809,7 +812,7 @@ reparsetoken: children.append(new DocStyleChange(parent,g_nodeStack.count(),DocStyleChange::Code,FALSE)); if (tok!=TK_WORD) children.append(new DocWhiteSpace(parent," ")); if (tok==TK_NEWPARA) goto handlepara; - else if (tok==TK_WORD) goto reparsetoken; + else if (tok==TK_WORD || tok==TK_HTMLTAG) goto reparsetoken; } break; case CMD_HTMLONLY: |