summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-01 23:40:02 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-01 23:40:02 -0600
commita125f24d29fd8275be7283a2edca9abc125703d7 (patch)
treeb649aeeef3b75be85cae8197467c5fb02066d486 /src/session.cc
parentcfd7ffb12645c198a5b15891654f6ad6a0e4db27 (diff)
downloadfork-ledger-a125f24d29fd8275be7283a2edca9abc125703d7.tar.gz
fork-ledger-a125f24d29fd8275be7283a2edca9abc125703d7.tar.bz2
fork-ledger-a125f24d29fd8275be7283a2edca9abc125703d7.zip
Allow --options to be added by the user in Python
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/session.cc b/src/session.cc
index db01fbf6..3e7cdb3d 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -68,6 +68,8 @@ session_t::session_t()
HANDLER(price_db_).on(none, (path(home_var) / ".pricedb").string());
else
HANDLER(price_db_).on(none, path("./.pricedb").string());
+
+ parsing_context.push();
}
std::size_t session_t::read_data(const string& master_account)