summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/session.cc b/src/session.cc
index 9d926550..42e02c75 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -34,6 +34,7 @@
#include "handler.h"
#include "iterators.h"
#include "filters.h"
+#include "textual.h"
namespace ledger {
@@ -129,6 +130,8 @@ session_t::session_t()
init_file = home ? *home / ".ledgerrc" : "./.ledgerrc";
price_db = home ? *home / ".pricedb" : "./.pricedb";
cache_file = home ? *home / ".ledger-cache" : "./.ledger-cache";
+
+ register_parser(new textual_parser_t);
}
session_t::~session_t()