From 44813969132e0bc07f4b1e8b1445032b194ef374 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 30 Oct 2009 18:02:10 -0400 Subject: Added an assert for op_t::left() --- src/op.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/op.h') 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 { -- cgit v1.2.3