summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/textual.cc b/textual.cc
index 7970c23a..d2685a00 100644
--- a/textual.cc
+++ b/textual.cc
@@ -2,6 +2,7 @@
#include "autoxact.h"
#include "valexpr.h"
#include "error.h"
+#include "option.h"
#include <fstream>
#include <sstream>
@@ -470,6 +471,16 @@ unsigned int parse_textual_journal(std::istream& in, journal_t * journal,
linenum++;
break;
+ case ':': { // option setting
+ std::string opt;
+ in >> c;
+ in >> opt;
+ in.getline(line, MAX_LINE);
+ linenum++;
+ process_option(opt, line + 1);
+ break;
+ }
+
case '=': // automated transactions
parse_automated_transactions(in, account_stack.front(), auto_xacts);
break;