Parser
- ::applyOverrides scans all nodes, and must manually skip TERMINATOR.
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user