Parser
- ::findPattern removes unnecessarily lexed sub-branches.
This commit is contained in:
@@ -704,6 +704,7 @@ void Parser::findPattern ()
|
|||||||
pattern.length () > 0)
|
pattern.length () > 0)
|
||||||
{
|
{
|
||||||
(*i)->unTag ("?");
|
(*i)->unTag ("?");
|
||||||
|
(*i)->removeAllBranches ();
|
||||||
(*i)->tag ("PATTERN");
|
(*i)->tag ("PATTERN");
|
||||||
|
|
||||||
Tree* branch = (*i)->addBranch (new Tree ("argPat"));
|
Tree* branch = (*i)->addBranch (new Tree ("argPat"));
|
||||||
|
|||||||
Reference in New Issue
Block a user