- ::findTag removes unnecessarily lexed sub-branches.
This commit is contained in:
Paul Beckingham 2014-06-14 15:22:51 -04:00
parent 18662b0307
commit 64df32baff

View file

@ -789,6 +789,7 @@ void Parser::findTag ()
tag.find (' ') == std::string::npos) tag.find (' ') == std::string::npos)
{ {
(*i)->unTag ("?"); (*i)->unTag ("?");
(*i)->removeAllBranches ();
(*i)->tag ("TAG"); (*i)->tag ("TAG");
(*i)->attribute ("sign", sign); (*i)->attribute ("sign", sign);
(*i)->attribute ("tag", tag); (*i)->attribute ("tag", tag);