mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Parser
- ::findPattern removes unnecessarily lexed sub-branches.
This commit is contained in:
parent
91263ca28a
commit
587113e5cf
1 changed files with 1 additions and 0 deletions
|
@ -704,6 +704,7 @@ void Parser::findPattern ()
|
|||
pattern.length () > 0)
|
||||
{
|
||||
(*i)->unTag ("?");
|
||||
(*i)->removeAllBranches ();
|
||||
(*i)->tag ("PATTERN");
|
||||
|
||||
Tree* branch = (*i)->addBranch (new Tree ("argPat"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue