diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-30 18:02:10 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-30 18:02:10 -0400 |
commit | 44813969132e0bc07f4b1e8b1445032b194ef374 (patch) | |
tree | 7741b2d93d9b9a24847df0d6f56b40263b34c479 /src/op.h | |
parent | 1dce419ba32d4ac89ebf74977999105bbb450914 (diff) | |
download | fork-ledger-44813969132e0bc07f4b1e8b1445032b194ef374.tar.gz fork-ledger-44813969132e0bc07f4b1e8b1445032b194ef374.tar.bz2 fork-ledger-44813969132e0bc07f4b1e8b1445032b194ef374.zip |
Added an assert for op_t::left()
Diffstat (limited to 'src/op.h')
-rw-r--r-- | src/op.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -192,6 +192,7 @@ public: } ptr_op_t& left() { + assert(kind > TERMINALS || kind == IDENT); return left_; } const ptr_op_t& left() const { |