diff --git a/src/Parser.cpp b/src/Parser.cpp index 18e9b72d9..d3738eb37 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -704,6 +704,7 @@ void Parser::findPattern () pattern.length () > 0) { (*i)->unTag ("?"); + (*i)->removeAllBranches (); (*i)->tag ("PATTERN"); Tree* branch = (*i)->addBranch (new Tree ("argPat"));