- ::findSubstitution removes unnecessarily lexed sub-branches.
This commit is contained in:
Paul Beckingham 2014-06-14 15:22:23 -04:00
parent 587113e5cf
commit 18662b0307

View file

@ -753,6 +753,7 @@ void Parser::findSubstitution ()
!Directory (raw).exists ())
{
(*i)->unTag ("?");
(*i)->removeAllBranches ();
(*i)->tag ("SUBSTITUTION");
(*i)->attribute ("from", from);
(*i)->attribute ("to", to);