mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Parser
- ::findAttributeModifier now repeats without breaking the iterator.
This commit is contained in:
parent
37614ac6b3
commit
13e49f6b00
1 changed files with 158 additions and 151 deletions
|
@ -1061,7 +1061,11 @@ void Parser::findAttribute ()
|
||||||
void Parser::findAttributeModifier ()
|
void Parser::findAttributeModifier ()
|
||||||
{
|
{
|
||||||
context.debug ("Parser::findAttributeModifier");
|
context.debug ("Parser::findAttributeModifier");
|
||||||
bool action = false;
|
bool action = true;
|
||||||
|
|
||||||
|
do
|
||||||
|
{
|
||||||
|
action = false;
|
||||||
|
|
||||||
std::vector <Tree*> nodes;
|
std::vector <Tree*> nodes;
|
||||||
collect (nodes);
|
collect (nodes);
|
||||||
|
@ -1243,14 +1247,17 @@ void Parser::findAttributeModifier ()
|
||||||
{
|
{
|
||||||
(*i)->tag ("MODIFIABLE");
|
(*i)->tag ("MODIFIABLE");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (action)
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
while (action);
|
||||||
|
|
||||||
context.debug (_tree->dump ());
|
context.debug (_tree->dump ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue