summaryrefslogtreecommitdiff
path: root/expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'expr.h')
-rw-r--r--expr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/expr.h b/expr.h
index ab8c07f2..bfb372b6 100644
--- a/expr.h
+++ b/expr.h
@@ -59,6 +59,7 @@ public:
private:
ptr_op_t ptr;
string str;
+ bool compiled;
static void initialize();
static void shutdown();
@@ -97,6 +98,7 @@ public:
void parse(std::istream& in, const unsigned int flags = 0);
void compile(scope_t& scope);
+ value_t calc(scope_t& scope);
value_t calc(scope_t& scope) const;
bool is_constant() const;