diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-02 22:45:35 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-02 22:45:35 -0400 |
commit | 5a90fe735772fd4d52216ae76ddad893bce177e6 (patch) | |
tree | 7f0f70fed0d3ae7deb5770a94ca451953b730625 /csv.cc | |
parent | 7b3c8c03c56fa90f8e110ed14ce3af27fb49b458 (diff) | |
download | ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.tar.gz ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.tar.bz2 ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.zip |
Moved xact_xdata_t into xact_t itself, as a set of "extended data" that might
be gathered during reporting.
Removed the references to accounts and such from the mask logic, which means
that the value expression "acount =~ /foo/" is needed in place of just
"/foo/".
Diffstat (limited to 'csv.cc')
-rw-r--r-- | csv.cc | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -19,9 +19,8 @@ namespace { void format_csv_xacts::operator()(xact_t& xact) { - if (! xact_has_xdata(xact) || - ! (xact_xdata_(xact).dflags & XACT_DISPLAYED)) { - + if (! xact.has_xdata() || + ! xact.xdata().has_flags(XACT_EXT_DISPLAYED)) { { format_t fmt("%D"); std::ostringstream str; @@ -111,7 +110,7 @@ void format_csv_xacts::operator()(xact_t& xact) } out << '\n'; - xact_xdata(xact).dflags |= XACT_DISPLAYED; + xact.xdata().add_flags(XACT_EXT_DISPLAYED); } } |