diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-27 04:59:04 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-27 05:02:25 -0600 |
commit | 2ec35ea6e98dcfb03fb8c2e90b85991aaa7be2fa (patch) | |
tree | 762118fc9fec617672c84980ba7efc9bd1f980f9 /src/xact.h | |
parent | 0e7b4fb1821a80ee43fafd55447a01255564eb3d (diff) | |
download | fork-ledger-2ec35ea6e98dcfb03fb8c2e90b85991aaa7be2fa.tar.gz fork-ledger-2ec35ea6e98dcfb03fb8c2e90b85991aaa7be2fa.tar.bz2 fork-ledger-2ec35ea6e98dcfb03fb8c2e90b85991aaa7be2fa.zip |
Implement the "tag" metadata directive
Diffstat (limited to 'src/xact.h')
-rw-r--r-- | src/xact.h | 16 |
1 files changed, 3 insertions, 13 deletions
@@ -152,21 +152,11 @@ private: class auto_xact_t : public xact_base_t { public: - predicate_t predicate; - bool try_quick_match; - + predicate_t predicate; + bool try_quick_match; std::map<string, bool> memoized_results; - enum xact_expr_kind_t { - EXPR_GENERAL, - EXPR_ASSERTION, - EXPR_CHECK - }; - - typedef std::pair<expr_t, xact_expr_kind_t> check_expr_pair; - typedef std::list<check_expr_pair> check_expr_list; - - optional<check_expr_list> check_exprs; + optional<expr_t::check_expr_list> check_exprs; struct deferred_tag_data_t { string tag_data; |