Improved unknown Doxygen commands handling

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dmitry Kabak 2012-08-10 21:21:16 +00:00
commit 9600bb310f

View file

@ -701,7 +701,8 @@ std::list < DoxygenEntity > DoxygenParser::parse(std::list < Token >::iterator e
if (currCommand < 0) {
if (noisy)
cout << "Unidentified Command " << currToken.tokenString << endl;
tokList.next();
tokList.printListError("Unsupported command: " + currToken.tokenString + ". Ignored");
tokList.current()->tokenType = PLAINSTRING; // little hack to add the command as plaintext
addCommand(currPlainstringCommandType, tokList, aNewList);
} else {
tokList.next();