summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/textual.cc b/textual.cc
index d711005b..2033106b 100644
--- a/textual.cc
+++ b/textual.cc
@@ -732,7 +732,8 @@ unsigned int textual_parser_t::parse(std::istream& in,
std::string symbol;
parse_symbol(symbol_and_price, symbol);
- amount_t price(symbol_and_price);
+ amount_t price;
+ price.parse(symbol_and_price, AMOUNT_PARSE_NO_MIGRATE);
if (commodity_t * commodity = commodity_t::find_or_create(symbol))
commodity->add_price(datetime, price);