summaryrefslogtreecommitdiff
path: root/src/expr.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-04 19:55:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-04 19:55:27 -0400
commit2d941730b1c60342be5b108d2d654723b3b7c2cb (patch)
tree6a3f4b7305857e85d2684670492007bafc3668d0 /src/expr.h
parent73cf3b01fbd50c3a8a4fd96ff69643c28394d8fe (diff)
downloadfork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.gz
fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.bz2
fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.zip
Largely removed all of Ledger's use of global variables, for the REPL's sake.
Diffstat (limited to 'src/expr.h')
-rw-r--r--src/expr.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/expr.h b/src/expr.h
index 7f4cd9b5..8104be35 100644
--- a/src/expr.h
+++ b/src/expr.h
@@ -68,9 +68,7 @@ typedef function<value_t (call_scope_t&)> function_t;
class expr_t
{
struct token_t;
-
- class parser_t;
- static std::auto_ptr<parser_t> parser;
+ class parser_t;
public:
class op_t;
@@ -92,14 +90,6 @@ private:
bool compiled;
public:
- /**
- * The initialize and shutdown methods ready the amount subsystem for
- * use. Normally they are called by `session_t::initialize' and
- * `session_t::shutdown'.
- */
- static void initialize();
- static void shutdown();
-
expr_t();
expr_t(const expr_t& other);
expr_t(const ptr_op_t& _ptr, const string& _str = "");