Parser
- ::findCommand removes unnecessarily lexed sub-branches.
This commit is contained in:
@@ -334,6 +334,7 @@ void Parser::findCommand ()
|
|||||||
if (canonicalize (command, "cmd", (*i)->attribute ("raw")))
|
if (canonicalize (command, "cmd", (*i)->attribute ("raw")))
|
||||||
{
|
{
|
||||||
(*i)->unTag ("?");
|
(*i)->unTag ("?");
|
||||||
|
(*i)->removeAllBranches ();
|
||||||
(*i)->tag ("CMD");
|
(*i)->tag ("CMD");
|
||||||
(*i)->attribute ("canonical", command);
|
(*i)->attribute ("canonical", command);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user