diff options
Diffstat (limited to 'op.cc')
-rw-r--r-- | op.cc | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -647,34 +647,6 @@ expr_t::ptr_op_t expr_t::op_t::compile(scope_t& scope) } return this; - case MASK: { - ptr_op_t match = new op_t(op_t::O_MATCH); - match->set_right(this); - - // jww (2008-08-02): Coupling! - ptr_op_t ident = new op_t(op_t::IDENT); - switch (as_mask().flags()) { - case MASK_SHORT_ACCOUNT: - ident->set_ident("account_base"); - break; - case MASK_CODE: - ident->set_ident("code"); - break; - case MASK_PAYEE: - ident->set_ident("payee"); - break; - case MASK_NOTE: - ident->set_ident("note"); - break; - case MASK_ACCOUNT: - ident->set_ident("account"); - break; - } - match->set_left(ident->compile(scope)); - - return match; - } - default: break; } |