summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorKuang-che Wu <kcwu@google.com>2024-10-10 11:49:12 +0800
committerJohn Wiegley <johnw@newartisans.com>2024-10-11 18:34:47 -0400
commit033759c208cfae3d11851d6874fc83e7d1866c84 (patch)
tree58d20be31083bb1401b6f651901f3cb91a0e369e /src/textual.cc
parentd5c1735aaa371080e3a4ef68361e23f4aef6d94c (diff)
downloadfork-ledger-master.tar.gz
fork-ledger-master.tar.bz2
fork-ledger-master.zip
also follow precision from balance assignmentHEADmaster
Fixes #2129
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 4105a42d..4ae64890 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -1658,7 +1658,7 @@ post_t * instance_t::parse_post(char * line,
ptristream stream(p, static_cast<std::size_t>(len - beg));
if (*p != '(') // indicates a value expression
- post->assigned_amount->parse(stream, PARSE_NO_MIGRATE);
+ post->assigned_amount->parse(stream);
else
parse_amount_expr(stream, *context.scope, *post.get(),
*post->assigned_amount,