No real changes, just pass original command to commandBelongs().
Don't transform commandBelongs() argument to lower case as it's done inside the function itself anyhow -- and it will need the original case soon.
This commit is contained in:
parent
a1ae3a4344
commit
f0ed5e90d7
1 changed files with 2 additions and 5 deletions
|
|
@ -133,10 +133,7 @@ void DoxygenParser::printTree(const DoxygenEntityList &rootList)
|
|||
|
||||
int DoxygenParser::commandBelongs(const std::string &theCommand)
|
||||
{
|
||||
|
||||
std::string smallString = stringToLower(theCommand);
|
||||
//cout << " Looking for command " << theCommand << endl;
|
||||
DoxyCommandsMapIt it = doxygenCommands.find(smallString);
|
||||
DoxyCommandsMapIt it = doxygenCommands.find(stringToLower(theCommand));
|
||||
|
||||
if (it != doxygenCommands.end()) {
|
||||
return it->second;
|
||||
|
|
@ -899,7 +896,7 @@ int DoxygenParser::addCommand(const std::string &commandString,
|
|||
return 1;
|
||||
}
|
||||
|
||||
switch (commandBelongs(theCommand)) {
|
||||
switch (commandBelongs(commandString)) {
|
||||
case SIMPLECOMMAND:
|
||||
return addSimpleCommand(theCommand, doxyList);
|
||||
case COMMANDWORD:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue