From fccf7e1cb5d2c0810e9b3a4c2cfb7355debbf819 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 8 Feb 2009 23:56:28 -0400 Subject: Fixes to the new Python/scope integration code. --- src/expr.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/expr.h b/src/expr.h index 508e521a..cebc7740 100644 --- a/src/expr.h +++ b/src/expr.h @@ -141,6 +141,13 @@ public: return calc(*context); } + scope_t * get_context() { + return context; + } + void set_context(scope_t * scope) { + context = scope; + } + bool is_constant() const; bool is_function() const; -- cgit v1.2.3