diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-14 05:37:53 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-14 05:37:53 -0400 |
commit | ee5e0600aaa63859b9452d981ea9dd29b581b216 (patch) | |
tree | 91f087a8c701f6dca8ddf2e35a4bba107866bb3e /src/value.cc | |
parent | 67d63366cb1c7e1bc528f625c28437ca19ab927e (diff) | |
download | fork-ledger-ee5e0600aaa63859b9452d981ea9dd29b581b216.tar.gz fork-ledger-ee5e0600aaa63859b9452d981ea9dd29b581b216.tar.bz2 fork-ledger-ee5e0600aaa63859b9452d981ea9dd29b581b216.zip |
xact metadata searches get passed up to the entry
That is, if a metadata tag cannot be found in a transaction, look in the
parent entry to see if it was set there. Transactions "inherit"
notational details from their entries.
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc index cb45660e..6e4574ca 100644 --- a/src/value.cc +++ b/src/value.cc @@ -943,6 +943,9 @@ void value_t::in_place_cast(type_t cast_type) case AMOUNT: set_amount(amount_t(as_string())); return; + case MASK: + set_mask(as_string()); + return; default: break; } |