summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-14 06:25:29 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-14 06:25:29 -0400
commit061e19e302fb62eaafbd2029671bdd46dd4d7814 (patch)
tree081700c4302e6efc0f7954dbeaf8d86d4e63e907 /textual.cc
parent0b0c9b5bd13b1dedf100b137e3a35be60d3d3a27 (diff)
downloadfork-ledger-061e19e302fb62eaafbd2029671bdd46dd4d7814.tar.gz
fork-ledger-061e19e302fb62eaafbd2029671bdd46dd4d7814.tar.bz2
fork-ledger-061e19e302fb62eaafbd2029671bdd46dd4d7814.zip
make config_t visible to Python; almost possible to implement main.cc in main.py
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/textual.cc b/textual.cc
index 6e80884b..57cb0089 100644
--- a/textual.cc
+++ b/textual.cc
@@ -5,6 +5,7 @@
#include "valexpr.h"
#include "error.h"
#include "option.h"
+#include "config.h"
#include "timing.h"
#include "util.h"
#ifdef USE_BOOST_PYTHON
@@ -513,7 +514,7 @@ unsigned int textual_parser_t::parse(std::istream& in,
in.getline(line, MAX_LINE);
linenum++;
char * p = skip_ws(line);
- process_option(opt, *p == '\n' ? NULL : p);
+ process_option(config_options, opt, *p == '\n' ? NULL : p);
break;
}