mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 09:17:19 +02:00
Parser
- ::getLimit does not need to manually skip TERMINATOR nodes.
This commit is contained in:
parent
ea7afa112b
commit
a1ba3df7fb
1 changed files with 0 additions and 4 deletions
|
@ -798,10 +798,6 @@ std::string Parser::getLimit () const
|
||||||
std::vector <Tree*>::iterator i;
|
std::vector <Tree*>::iterator i;
|
||||||
for (i = nodes.begin (); i != nodes.end (); ++i)
|
for (i = nodes.begin (); i != nodes.end (); ++i)
|
||||||
{
|
{
|
||||||
// Parser override operator.
|
|
||||||
if ((*i)->attribute ("raw") == "--")
|
|
||||||
break;
|
|
||||||
|
|
||||||
if ((*i)->hasTag ("PSEUDO") &&
|
if ((*i)->hasTag ("PSEUDO") &&
|
||||||
(*i)->attribute ("name") == "limit")
|
(*i)->attribute ("name") == "limit")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue