Parser
- ::findAttributeModifier now repeats without breaking the iterator.
This commit is contained in:
@@ -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 ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user