summaryrefslogtreecommitdiff
path: root/walk.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-24 09:02:47 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-24 09:02:47 -0400
commit643f2d33cf24bbae4a13acfbfc6af5fe8439f905 (patch)
treec694588e1b4bd03b0903764975fce65f15aba51c /walk.cc
parent7409b050bee226fb7bb0b89a10d9c206d8797d70 (diff)
downloadfork-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 'walk.cc')
-rw-r--r--walk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/walk.cc b/walk.cc
index 34888a8c..75917388 100644
--- a/walk.cc
+++ b/walk.cc
@@ -230,7 +230,7 @@ void handle_value(const value_t& value,
// fall through...
case value_t::AMOUNT:
- xact.amount = temp.as_amount_lval();
+ xact.amount = temp.as_amount();
break;
case value_t::BALANCE: