mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Parser
- ::scan should skip nodes tagged with both TERMINATOR and TERMINATED.
This commit is contained in:
parent
ccecec6895
commit
24c2c0cbee
1 changed files with 2 additions and 1 deletions
|
@ -288,7 +288,8 @@ void Parser::scan (void (Parser::*callback) (Tree*), Tree* tree /* = NULL */)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Parser override operator.
|
// Parser override operator.
|
||||||
if ((*i)->hasTag ("TERMINATOR"))
|
if ((*i)->hasTag ("TERMINATOR") ||
|
||||||
|
(*i)->hasTag ("TERMINATED"))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// Skip known args.
|
// Skip known args.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue