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/op.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/op.h') diff --git a/src/op.h b/src/op.h index a2b20c73..1c6b246e 100644 --- a/src/op.h +++ b/src/op.h @@ -277,8 +277,7 @@ private: public: ptr_op_t compile(scope_t& scope); - value_t calc(scope_t& scope); - value_t opcalc(scope_t& scope); + value_t calc(scope_t& scope, ptr_op_t * context = NULL); struct context_t { -- cgit v1.2.3