From f5dce013ceba1e85ba9e95cd178eb2dddcbeda01 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sat, 6 Nov 2021 11:35:34 -0400 Subject: [PATCH] CmdContext: Expand the definition of an invalid write context to incllude tag exclusion --- src/commands/CmdContext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/CmdContext.cpp b/src/commands/CmdContext.cpp index 7c3c064f8..e09e76e54 100644 --- a/src/commands/CmdContext.cpp +++ b/src/commands/CmdContext.cpp @@ -110,7 +110,8 @@ std::string CmdContext::joinWords (const std::vector & words, unsig // Validate the context as valid for writing and fail the write context definition // A valid write context: // - does not contain any operators except AND -// - does not use modifiers +// - does not contain tag exclusion +// - does not use modifiers, except for 'equals' and 'is' // // Returns True if the context is a valid write context. If the context is // invalid due to a wrong modifier use, the modifier string will contain the