summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/op.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/op.h b/src/op.h
index c79ed3f6..7690d6bc 100644
--- a/src/op.h
+++ b/src/op.h
@@ -192,6 +192,7 @@ public:
}
ptr_op_t& left() {
+ assert(kind > TERMINALS || kind == IDENT);
return left_;
}
const ptr_op_t& left() const {