Bug: The 'filter' verbosity token code was missing

- Probbably cut out during the CLI --> CLI2 cutover.
This commit is contained in:
Paul Beckingham 2015-09-19 15:22:03 -04:00
parent 7c59bd5a1d
commit d5002ab400

View file

@ -663,6 +663,23 @@ void CLI2::prepareFilter ()
desugarFilterAttributes ();
desugarFilterPatterns ();
insertJunctions (); // Deliberately after all desugar calls.
if (context.verbose ("filter"))
{
std::string combined;
for (auto& a : _args)
{
if (a.hasTag ("FILTER"))
{
if (combined != "")
combined += " ";
combined += a.attribute ("raw");
}
}
context.footnote (std::string (STRING_COLUMN_LABEL_FILTER) + ": " + combined);
}
}
////////////////////////////////////////////////////////////////////////////////