diff options
author | John Wiegley <johnw@newartisans.com> | 2006-03-24 16:37:26 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:31 -0400 |
commit | a5aff9eee967adb8c71ce6fc25db0458d522836e (patch) | |
tree | 1ab913955246a1ba0afd19d1f2fc776797a046d7 /valexpr.cc | |
parent | 44561c1c1d233d9432de319a71b44a3e05275d49 (diff) | |
download | ledger-a5aff9eee967adb8c71ce6fc25db0458d522836e.tar.gz ledger-a5aff9eee967adb8c71ce6fc25db0458d522836e.tar.bz2 ledger-a5aff9eee967adb8c71ce6fc25db0458d522836e.zip |
Several fixes to lot price handling.
Diffstat (limited to 'valexpr.cc')
-rw-r--r-- | valexpr.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -772,7 +772,8 @@ value_expr_t * parse_value_term(std::istream& in, scope_t * scope, // the current maximum precision displayed. try { pos = (long)in.tellg(); - temp.parse(in); + temp.parse(in, flags & PARSE_VALEXPR_NO_MIGRATE ? + AMOUNT_PARSE_NO_MIGRATE : 0); } catch (amount_error * err) { // If the amount had no commodity, it must be an unambiguous |