summaryrefslogtreecommitdiff
path: root/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-20 05:32:09 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-20 05:32:09 -0400
commit20e35aa6f56bebd25863681e0406df4601e86a36 (patch)
treeb04f593db2ef34f80e2cb45eed80737efc22d6ae /session.cc
parent52fc9f2e4499e75d17e7f12d32a8391054d8634a (diff)
downloadfork-ledger-20e35aa6f56bebd25863681e0406df4601e86a36.tar.gz
fork-ledger-20e35aa6f56bebd25863681e0406df4601e86a36.tar.bz2
fork-ledger-20e35aa6f56bebd25863681e0406df4601e86a36.zip
I have walked further along the road less compiled by...
Diffstat (limited to 'session.cc')
-rw-r--r--session.cc18
1 files changed, 14 insertions, 4 deletions
diff --git a/session.cc b/session.cc
index 98ae9613..d7364cc8 100644
--- a/session.cc
+++ b/session.cc
@@ -109,7 +109,9 @@ session_t::session_t()
now(now),
+#if 0
elision_style(ABBREVIATE),
+#endif
abbrev_length(2),
ansi_codes(false),
@@ -118,6 +120,8 @@ session_t::session_t()
TRACE_CTOR(session_t, "xml::xpath_t::scope_t&");
}
+#if 0
+
std::size_t session_t::read_journal(std::istream& in,
const path& pathname,
xml::builder_t& builder)
@@ -223,6 +227,8 @@ std::size_t session_t::read_data(xml::builder_t& builder,
return entry_count;
}
+#endif
+
#if 0
optional<value_t>
session_t::resolve(const string& name, xml::xpath_t::scope_t& locals)
@@ -256,7 +262,7 @@ session_t::resolve(const string& name, xml::xpath_t::scope_t& locals)
}
#endif
-xml::xpath_t::ptr_op_t session_t::lookup(const string& name)
+expr::ptr_op_t session_t::lookup(const string& name)
{
const char * p = name.c_str();
switch (*p) {
@@ -291,7 +297,7 @@ xml::xpath_t::ptr_op_t session_t::lookup(const string& name)
break;
}
- return xml::xpath_t::symbol_scope_t::lookup(name);
+ return expr::symbol_scope_t::lookup(name);
}
// jww (2007-04-26): All of Ledger should be accessed through a
@@ -300,12 +306,16 @@ static void initialize()
{
amount_t::initialize();
value_t::initialize();
- xml::xpath_t::initialize();
+#if 0
+ expr::initialize();
+#endif
}
static void shutdown()
{
- xml::xpath_t::shutdown();
+#if 0
+ expr::shutdown();
+#endif
value_t::shutdown();
amount_t::shutdown();
}