From 2d941730b1c60342be5b108d2d654723b3b7c2cb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 4 Feb 2009 19:55:27 -0400 Subject: Largely removed all of Ledger's use of global variables, for the REPL's sake. --- src/expr.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/expr.h') 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 function_t; class expr_t { struct token_t; - - class parser_t; - static std::auto_ptr 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 = ""); -- cgit v1.2.3