diff options
Diffstat (limited to 'textual.cc')
-rw-r--r-- | textual.cc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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; |