summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-20 21:33:23 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-20 21:33:23 -0500
commit117dddabd4f883de4f464821f9567d889a6fa449 (patch)
tree602c8c5e72b81ffc9bcf01bbaed5e2875d0e60a0 /src/textual.cc
parentcc9110a43a1e2d006de8d24a84bbfb2c6918cf33 (diff)
parent4e6ec09e4d2a69dcb06627e44512980b09561448 (diff)
downloadfork-ledger-117dddabd4f883de4f464821f9567d889a6fa449.tar.gz
fork-ledger-117dddabd4f883de4f464821f9567d889a6fa449.tar.bz2
fork-ledger-117dddabd4f883de4f464821f9567d889a6fa449.zip
Merge branch 'next'
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/textual.cc b/src/textual.cc
index aec7dbda..071e111d 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -490,7 +490,7 @@ void instance_t::default_commodity_directive(char * line)
{
amount_t amt(skip_ws(line + 1));
VERIFY(amt.valid());
- amount_t::current_pool->default_commodity = &amt.commodity();
+ commodity_pool_t::current_pool->default_commodity = &amt.commodity();
amt.commodity().add_flags(COMMODITY_KNOWN);
}
@@ -511,7 +511,7 @@ void instance_t::price_conversion_directive(char * line)
void instance_t::price_xact_directive(char * line)
{
optional<price_point_t> point =
- amount_t::current_pool->parse_price_directive(skip_ws(line + 1));
+ commodity_pool_t::current_pool->parse_price_directive(skip_ws(line + 1));
if (! point)
throw parse_error(_("Pricing entry failed to parse"));
}
@@ -523,7 +523,7 @@ void instance_t::nomarket_directive(char * line)
commodity_t::parse_symbol(p, symbol);
if (commodity_t * commodity =
- amount_t::current_pool->find_or_create(symbol))
+ commodity_pool_t::current_pool->find_or_create(symbol))
commodity->add_flags(COMMODITY_NOMARKET | COMMODITY_KNOWN);
}