added handling for tag ref in Java

This commit is contained in:
Marko Klopcic 2013-03-16 10:53:48 +01:00
commit 4e2c1e3ac3
5 changed files with 71 additions and 9 deletions

View file

@ -692,10 +692,12 @@ int DoxygenParser::addCommandUnique(const std::string &theCommand,
"No key followed " + theCommand + " command. Not added");
return 0;
}
std::string text = getNextWord();
aNewList.push_back(DoxygenEntity("plainstd::string", name));
if (!text.empty())
aNewList.push_back(DoxygenEntity("plainstd::string", text));
DoxygenEntityList aNewList;
TokenListCIt endOfLine = getOneLine(tokList);
if (endOfLine != m_tokenListIt) {
aNewList = parse(endOfLine, tokList);
}
aNewList.push_front(DoxygenEntity("plainstd::string", name));
doxyList.push_back(DoxygenEntity(theCommand, aNewList));
}
// \subpage <name> ["(text)"]