diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-24 09:02:47 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-24 09:02:47 -0400 |
commit | 643f2d33cf24bbae4a13acfbfc6af5fe8439f905 (patch) | |
tree | c694588e1b4bd03b0903764975fce65f15aba51c /derive.cc | |
parent | 7409b050bee226fb7bb0b89a10d9c206d8797d70 (diff) | |
download | fork-ledger-643f2d33cf24bbae4a13acfbfc6af5fe8439f905.tar.gz fork-ledger-643f2d33cf24bbae4a13acfbfc6af5fe8439f905.tar.bz2 fork-ledger-643f2d33cf24bbae4a13acfbfc6af5fe8439f905.zip |
More work toward getting the textual parser working again. Since this means
that value expressions must work, there are a lot of details involved.
Diffstat (limited to 'derive.cc')
-rw-r--r-- | derive.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ entry_t * derive_new_entry(journal_t& journal, value_t total = account_xdata(*acct).total; if (total.is_type(value_t::AMOUNT)) - xact->amount.set_commodity(total.as_amount_lval().commodity()); + xact->amount.set_commodity(total.as_amount().commodity()); } } |