mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Parser
- ::applyOverrides scans all nodes, and must manually skip TERMINATOR.
This commit is contained in:
parent
e2b6e9b65e
commit
ea7afa112b
1 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue