diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-02-09 19:18:25 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-02-09 19:18:25 (GMT) |
commit | aacd1557af129e2bff3514169e04168376a2431b (patch) | |
tree | 95ba82f21de02e4db4763daea53134c8e56fb1df /src/docparser.cpp | |
parent | dcd4714c4413348d02eb7224dafee5d06be43dfb (diff) | |
download | Doxygen-aacd1557af129e2bff3514169e04168376a2431b.zip Doxygen-aacd1557af129e2bff3514169e04168376a2431b.tar.gz Doxygen-aacd1557af129e2bff3514169e04168376a2431b.tar.bz2 |
Release-1.8.3.1-20130209
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 29b0030..418a83b 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -1346,6 +1346,15 @@ reparsetoken: doctokenizerYYsetStatePara(); } break; + case CMD_DBONLY: + { + doctokenizerYYsetStateDbOnly(); + tok = doctokenizerYYlex(); + children.append(new DocVerbatim(parent,g_context,g_token->verb,DocVerbatim::DocbookOnly,g_isExample,g_exampleName)); + if (tok==0) warn_doc_error(g_fileName,doctokenizerYYlineno,"warning: xmlonly section ended without end marker",doctokenizerYYlineno); + doctokenizerYYsetStatePara(); + } + break; case CMD_FORMULA: { DocFormula *form=new DocFormula(parent,g_token->id); @@ -1547,7 +1556,7 @@ static int handleDocCopy(DocNode *parent,QList<DocNode> &children) cmdId==CMD_COPYDOC || cmdId==CMD_COPYDETAILS); cpy->parse(children); delete cpy; - return 0; + return TK_NEWPARA; } @@ -5509,6 +5518,7 @@ int DocPara::handleCommand(const QCString &cmdName) case CMD_ENDRTFONLY: case CMD_ENDLATEXONLY: case CMD_ENDXMLONLY: + case CMD_ENDDBONLY: case CMD_ENDLINK: case CMD_ENDVERBATIM: case CMD_ENDDOT: |