summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-01 03:31:28 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-01 03:31:28 -0600
commit944e580825f0d9ce060b6dcdffe8990b6c2cca20 (patch)
treee2651b0df622d9b8d3831f35743e7dbd31c16897 /src/xact.h
parente2afc783db0dff1927b00dc506390353d9e3bbd2 (diff)
downloadledger-944e580825f0d9ce060b6dcdffe8990b6c2cca20.tar.gz
ledger-944e580825f0d9ce060b6dcdffe8990b6c2cca20.tar.bz2
ledger-944e580825f0d9ce060b6dcdffe8990b6c2cca20.zip
Refactored the notion of "the current parsing context"
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xact.h b/src/xact.h
index cb7bdeb3..7d7fb826 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -49,6 +49,7 @@ namespace ledger {
class post_t;
class journal_t;
+class parse_context_t;
typedef std::list<post_t *> posts_list;
@@ -209,7 +210,7 @@ public:
deferred_notes->push_back(deferred_tag_data_t(p, overwrite_existing));
}
- virtual void extend_xact(xact_base_t& xact);
+ virtual void extend_xact(xact_base_t& xact, parse_context_t& context);
#if defined(HAVE_BOOST_SERIALIZATION)
private: