Parser
- When locating a command, all nodes must be scanned, not just the unknown ones.
This commit is contained in:
@@ -808,7 +808,7 @@ std::string Parser::getLimit () const
|
||||
std::string Parser::getCommand () const
|
||||
{
|
||||
std::vector <Tree*> nodes;
|
||||
collect (nodes, false);
|
||||
collect (nodes, true);
|
||||
std::vector <Tree*>::iterator i;
|
||||
for (i = nodes.begin (); i != nodes.end (); ++i)
|
||||
if ((*i)->hasTag ("CMD"))
|
||||
|
||||
Reference in New Issue
Block a user