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)->tag ("CMD");
|
||||||
(*i)->attribute ("canonical", command);
|
(*i)->attribute ("canonical", command);
|
||||||
|
|
||||||
if (exactMatch ("writecmd", (*i)->attribute ("raw")))
|
if (exactMatch ("writecmd", command)) (*i)->tag ("WRITECMD");
|
||||||
(*i)->tag ("WRITECMD");
|
else if (exactMatch ("readcmd", command)) (*i)->tag ("READCMD");
|
||||||
else if (exactMatch ("writecmd", (*i)->attribute ("raw")))
|
else if (exactMatch ("helper", command)) (*i)->tag ("HELPER");
|
||||||
(*i)->tag ("READCMD");
|
|
||||||
else if (exactMatch ("writecmd", (*i)->attribute ("raw")))
|
|
||||||
(*i)->tag ("HELPER");
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user