diff options
author | Christophe Rhodes <csr21@cantab.net> | 2014-05-13 16:08:10 +0100 |
---|---|---|
committer | Christophe Rhodes <csr21@cantab.net> | 2014-05-13 16:08:10 +0100 |
commit | da51f5b51051bdc6a0fe10325a3b8b1a2f30d21d (patch) | |
tree | 291f2a32b099aca4842d03273abb349ff98d0572 /tools | |
parent | bcb28b066f626a551e71fd0ef544e33c55770ea4 (diff) | |
download | fork-ledger-da51f5b51051bdc6a0fe10325a3b8b1a2f30d21d.tar.gz fork-ledger-da51f5b51051bdc6a0fe10325a3b8b1a2f30d21d.tar.bz2 fork-ledger-da51f5b51051bdc6a0fe10325a3b8b1a2f30d21d.zip |
support payee uuid directive
The semantics of this are a little bit tricky: we want, if we come
across a transaction with exactly the given UUID, to set the
transaction's payee to be the specified one.
We need to set that payee before the first post in the transaction is
parsed, otherwise that post will inherit the wrong payee; however, we
need to do it after the transaction's tags have been parsed. The
implementation as it is in this commit is potentially a little
wasteful, if there are post-like (non-comment non-assertion) entries
in the transaction that don't successfully parse as posts.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions