Parser
- ::getLimit does not need to manually skip TERMINATOR nodes.
This commit is contained in:
@@ -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")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user