- ::applyOverrides scans all nodes, and must manually skip TERMINATOR.
This commit is contained in:
Paul Beckingham 2014-08-17 15:52:42 -04:00
parent e2b6e9b65e
commit ea7afa112b

View file

@ -578,6 +578,10 @@ void Parser::applyOverrides ()
std::vector <Tree*>::iterator i; std::vector <Tree*>::iterator i;
for (i = nodes.begin (); i != nodes.end (); ++i) for (i = nodes.begin (); i != nodes.end (); ++i)
{ {
// Parser override operator.
if ((*i)->attribute ("raw") == "--")
break;
if ((*i)->hasTag ("CONFIG")) if ((*i)->hasTag ("CONFIG"))
{ {
std::string name = (*i)->attribute ("name"); std::string name = (*i)->attribute ("name");