Recognize unknown Doxygen tags correctly.

DoxygenParser::commandBelongs() returned the same value (0) for simple
commands and unrecognized commands. Fix this by returning a different NONE
value for the latter.
This commit is contained in:
Vadim Zeitlin 2014-08-25 16:57:24 +02:00
commit f256f0107e
2 changed files with 2 additions and 1 deletions

View file

@ -138,7 +138,7 @@ int DoxygenParser::commandBelongs(const std::string &theCommand)
if (it != doxygenCommands.end()) {
return it->second;
}
return 0;
return NONE;
}
std::string DoxygenParser::trim(const std::string &text)