- Renamed A3t to Parser.
This commit is contained in:
Paul Beckingham 2014-05-25 09:44:22 -04:00
parent ecd64456ae
commit 79abddd03d
25 changed files with 240 additions and 241 deletions

View file

@ -92,13 +92,13 @@ int CmdCustom::execute (std::string& output)
// TODO Obsolete, but for now prevents 'operator mismatch' errors.
context.a3.capture_first (*arg);
Tree* t = context.a3t.captureFirst (*arg);
Tree* t = context.parser.captureFirst (*arg);
t->tag ("CUSTOM");
t->tag ("FILTER");
}
// TODO Obsolete, but for now prevents 'operator mismatch' errors..
context.a3t.parse ();
context.parser.parse ();
context.a3.categorize ();
// Apply filter.
@ -239,7 +239,7 @@ void CmdCustom::getLimits (const std::string& report, int& rows, int& lines)
// If the custom report has a defined limit, then allow a numeric override.
// This is an integer specified as a filter (limit:10).
std::string limit = context.a3t.getLimit ();
std::string limit = context.parser.getLimit ();
if (limit != "")
{
if (limit == "page")