From 7c604cdb8f8981b001c02e95e4f1371e5f2f20e3 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 21 Jun 2015 20:44:09 -0400 Subject: [PATCH] CLI2: Fixed bug where MODIFICATION tags were expanded as a filter --- src/CLI2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 91613a1d0..bce03c238 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -843,7 +843,8 @@ void CLI2::desugarFilterTags () std::vector reconstructed; for (auto& a : _args) { - if (a._lextype == Lexer::Type::tag) + if (a.hasTag ("FILTER") && + a._lextype == Lexer::Type::tag) { changes = true;