- ::findPattern removes unnecessarily lexed sub-branches.
This commit is contained in:
Paul Beckingham 2014-06-14 15:22:06 -04:00
parent 91263ca28a
commit 587113e5cf

View file

@ -704,6 +704,7 @@ void Parser::findPattern ()
pattern.length () > 0)
{
(*i)->unTag ("?");
(*i)->removeAllBranches ();
(*i)->tag ("PATTERN");
Tree* branch = (*i)->addBranch (new Tree ("argPat"));