summaryrefslogtreecommitdiff
path: root/src/parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.cc')
-rw-r--r--src/parser.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser.cc b/src/parser.cc
index eeff59f0..a5fe9097 100644
--- a/src/parser.cc
+++ b/src/parser.cc
@@ -226,6 +226,9 @@ expr_t::parser_t::parse_logic_expr(std::istream& in,
bool negate = false;
switch (tok.kind) {
+ case token_t::DEFINE:
+ kind = op_t::O_DEFINE;
+ break;
case token_t::EQUAL:
if (tflags.has_flags(PARSE_NO_ASSIGN))
tok.rewind(in);