- ::findAttributeModifier now repeats without breaking the iterator.
This commit is contained in:
Paul Beckingham 2014-08-23 17:27:10 -04:00
parent 37614ac6b3
commit 13e49f6b00

View file

@ -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 ());
} }