diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-03 23:44:18 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-03 23:44:18 -0400 |
commit | bcffbc96ba88bd19f5f8ac00015ff38131fd6466 (patch) | |
tree | 7f4a9646bb05f138b00cdc7127dd45cc05142cb5 /op.cc | |
parent | 8a21391d0a6d6187855b40530f25b1d8beb0d67a (diff) | |
download | fork-ledger-bcffbc96ba88bd19f5f8ac00015ff38131fd6466.tar.gz fork-ledger-bcffbc96ba88bd19f5f8ac00015ff38131fd6466.tar.bz2 fork-ledger-bcffbc96ba88bd19f5f8ac00015ff38131fd6466.zip |
Regular expressions are working again, such that very basic register reports
are now possible.
Diffstat (limited to 'op.cc')
-rw-r--r-- | op.cc | 42 |
1 files changed, 0 insertions, 42 deletions
@@ -428,48 +428,6 @@ void expr_t::op_t::compute(value_t& result, break; } - case F_CODE_MASK: - if (details.entry && details.entry->code) - result = as_mask().match(*details.entry->code); - else - result = false; - break; - - case F_PAYEE_MASK: - if (details.entry) - result = as_mask().match(details.entry->payee); - else - result = false; - break; - - case F_NOTE_MASK: - if (details.xact && details.xact->note) - result = as_mask().match(*details.xact->note); - else - result = false; - break; - - case F_ACCOUNT_MASK: - if (details.account) - result = as_mask().match(details.account->fullname()); - else - result = false; - break; - - case F_SHORT_ACCOUNT_MASK: - if (details.account) - result = as_mask().match(details.account->name); - else - result = false; - break; - - case F_COMMODITY_MASK: - if (details.xact) - result = as_mask().match(details.xact->amount.commodity().base_symbol()); - else - result = false; - break; - case O_ARG: { long arg_index = 0; assert(left()->kind == INDEX); |