diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-03-15 19:18:42 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-03-15 19:18:42 (GMT) |
commit | 2fcc16df64d2af93fc0bb01617f8531116118e8d (patch) | |
tree | 504aa22719248b74962bee0517b645cfabab52d2 /src/docparser.cpp | |
parent | 5a6400835bc92fb56ef65126785cbe75f092f2d1 (diff) | |
download | Doxygen-2fcc16df64d2af93fc0bb01617f8531116118e8d.zip Doxygen-2fcc16df64d2af93fc0bb01617f8531116118e8d.tar.gz Doxygen-2fcc16df64d2af93fc0bb01617f8531116118e8d.tar.bz2 |
Release-1.4.1-20050315
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 47 |
1 files changed, 3 insertions, 44 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 03d30e1..3641caa 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -3620,6 +3620,7 @@ void DocPara::handleLink(const QString &cmdName,bool isJavaLink) void DocPara::handleRef(const QString &cmdName) { + DBG(("handleRef(%s)\n",cmdName.data())); int tok=doctokenizerYYlex(); if (tok!=TK_WHITESPACE) { @@ -3643,49 +3644,6 @@ endref: doctokenizerYYsetStatePara(); } -//int DocPara::handleLanguageSwitch() -//{ -// int retval=RetVal_OK; -// -// if (!insideLang(this)) // start a language section at this level -// { -// do -// { -// int tok = doctokenizerYYlex(); -// if (tok==TK_WHITESPACE) -// { -// // end of language specific sections -// retval=RetVal_OK; -// goto endlang; -// } -// else if (tok==TK_NEWPARA) -// { -// // end of language specific sections -// retval = tok; -// goto endlang; -// } -// else if (tok==TK_WORD || tok==TK_LNKWORD) -// { -// DocLanguage *dl = new DocLanguage(this,g_token->name); -// m_children.append(dl); -// retval = dl->parse(); -// } -// else -// { -// warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: Unexpected token %s as parameter of \\~", -// tokToString(tok)); -// goto endlang; -// } -// } -// while (retval==RetVal_SwitchLang); -// } -// else // return from this section -// { -// retval = RetVal_SwitchLang; -// } -//endlang: -// return retval; -//} void DocPara::handleInclude(const QString &cmdName,DocInclude::Type t) { @@ -4084,7 +4042,8 @@ int DocPara::handleCommand(const QString &cmdName) case CMD_JAVALINK: handleLink(cmdName,TRUE); break; - case CMD_REF: + case CMD_REF: // fall through + case CMD_SUBPAGE: handleRef(cmdName); break; case CMD_SECREFLIST: |