From 75b7294a6db10e7f7b18b6aeef1aa0f568124a1d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 7 Mar 2010 22:47:07 -0500 Subject: Rewrite the "print" command as a custom function There ended up being too many corner cases for the generalized formatter to handle. --- src/post.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/post.h') diff --git a/src/post.h b/src/post.h index 99fd841e..272cd9d8 100644 --- a/src/post.h +++ b/src/post.h @@ -52,10 +52,11 @@ class account_t; class post_t : public item_t { public: -#define POST_VIRTUAL 0x10 // the account was specified with (parens) -#define POST_MUST_BALANCE 0x20 // posting must balance in the transaction -#define POST_CALCULATED 0x40 // posting's amount was calculated -#define POST_COST_CALCULATED 0x80 // posting's cost was calculated +#define POST_VIRTUAL 0x08 // the account was specified with (parens) +#define POST_MUST_BALANCE 0x10 // posting must balance in the transaction +#define POST_CALCULATED 0x20 // posting's amount was calculated +#define POST_COST_CALCULATED 0x40 // posting's cost was calculated +#define POST_COST_IN_FULL 0x80 // cost specified using @@ xact_t * xact; // only set for posts of regular xacts account_t * account; -- cgit v1.2.3