summaryrefslogtreecommitdiff
path: root/src/session.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/session.h
parente2afc783db0dff1927b00dc506390353d9e3bbd2 (diff)
downloadfork-ledger-944e580825f0d9ce060b6dcdffe8990b6c2cca20.tar.gz
fork-ledger-944e580825f0d9ce060b6dcdffe8990b6c2cca20.tar.bz2
fork-ledger-944e580825f0d9ce060b6dcdffe8990b6c2cca20.zip
Refactored the notion of "the current parsing context"
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h
index 93bee8ba..54b9912a 100644
--- a/src/session.h
+++ b/src/session.h
@@ -44,6 +44,7 @@
#include "account.h"
#include "journal.h"
+#include "context.h"
#include "option.h"
#include "commodity.h"
@@ -57,7 +58,9 @@ class session_t : public symbol_scope_t
public:
bool flush_on_next_data_file;
+
std::auto_ptr<journal_t> journal;
+ parse_context_stack_t parsing_context;
explicit session_t();
virtual ~session_t() {