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;