Parser
- ::findCommand failed to sport readcmd and helper commands because of a copy/paste error.
This commit is contained in:
@@ -307,12 +307,9 @@ void Parser::findCommand ()
|
||||
(*i)->tag ("CMD");
|
||||
(*i)->attribute ("canonical", command);
|
||||
|
||||
if (exactMatch ("writecmd", (*i)->attribute ("raw")))
|
||||
(*i)->tag ("WRITECMD");
|
||||
else if (exactMatch ("writecmd", (*i)->attribute ("raw")))
|
||||
(*i)->tag ("READCMD");
|
||||
else if (exactMatch ("writecmd", (*i)->attribute ("raw")))
|
||||
(*i)->tag ("HELPER");
|
||||
if (exactMatch ("writecmd", command)) (*i)->tag ("WRITECMD");
|
||||
else if (exactMatch ("readcmd", command)) (*i)->tag ("READCMD");
|
||||
else if (exactMatch ("helper", command)) (*i)->tag ("HELPER");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user