From ae4272f477e77520b9d0c7cc1b574243fcadaf55 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 15 Oct 2014 02:33:50 -0400 Subject: [PATCH] CLI - When unsweetening tags, preserve the FILTER tag. --- src/CLI.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CLI.cpp b/src/CLI.cpp index 0785b7c58..94afd845c 100644 --- a/src/CLI.cpp +++ b/src/CLI.cpp @@ -526,14 +526,17 @@ void CLI::unsweetenTags () { A left ("argTag", "tags"); left.tag ("ATT"); + left.tag ("FILTER"); reconstructed.push_back (left); A op ("argTag", sign == "+" ? "_hastag_" : "_notag_"); op.tag ("OP"); + op.tag ("FILTER"); reconstructed.push_back (op); A right ("argTag", tag); right.tag ("LITERAL"); + right.tag ("FILTER"); reconstructed.push_back (right); } else