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:
parent
f0ed5e90d7
commit
f256f0107e
2 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue