summaryrefslogtreecommitdiff
path: root/src/op.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/op.h')
-rw-r--r--src/op.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/op.h b/src/op.h
index 8b914311..c93f218b 100644
--- a/src/op.h
+++ b/src/op.h
@@ -69,6 +69,7 @@ private:
public:
enum kind_t {
// Constants
+ PLUG,
VALUE,
IDENT,
@@ -274,7 +275,8 @@ public:
static ptr_op_t new_node(kind_t _kind, ptr_op_t _left = NULL,
ptr_op_t _right = NULL);
- ptr_op_t compile(scope_t& scope, const int depth = 0);
+ ptr_op_t compile(scope_t& scope, const int depth = 0,
+ scope_t * param_scope = NULL);
value_t calc(scope_t& scope, ptr_op_t * locus = NULL,
const int depth = 0);