CLI2: Fixed bug where MODIFICATION tags were expanded as a filter

This commit is contained in:
Paul Beckingham 2015-06-21 20:44:09 -04:00
parent 15e9c91d85
commit 7c604cdb8f

View file

@ -843,7 +843,8 @@ void CLI2::desugarFilterTags ()
std::vector <A2> reconstructed;
for (auto& a : _args)
{
if (a._lextype == Lexer::Type::tag)
if (a.hasTag ("FILTER") &&
a._lextype == Lexer::Type::tag)
{
changes = true;