From 3eb611057d3f8ead2fdcfa2d6bb0d57156867b3e Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 17 Aug 2014 14:30:19 -0400 Subject: [PATCH] Parser - When locating a command, all nodes must be scanned, not just the unknown ones. --- src/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parser.cpp b/src/Parser.cpp index 43b50ae7c..5feee6ef1 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -808,7 +808,7 @@ std::string Parser::getLimit () const std::string Parser::getCommand () const { std::vector nodes; - collect (nodes, false); + collect (nodes, true); std::vector ::iterator i; for (i = nodes.begin (); i != nodes.end (); ++i) if ((*i)->hasTag ("CMD"))