diff --git a/src/commands/CmdContext.cpp b/src/commands/CmdContext.cpp index e1f321e21..936c7b429 100644 --- a/src/commands/CmdContext.cpp +++ b/src/commands/CmdContext.cpp @@ -123,7 +123,10 @@ bool CmdContext::validateWriteContext (const std::vector & lexedArgs, std::s for (auto &arg: lexedArgs) { if (arg._lextype == Lexer::Type::op) if (arg.attribute ("raw") == "or") + { contains_or = true; + break; + } if (arg._lextype == Lexer::Type::pair) { auto modifier = arg.attribute ("modifier");