summaryrefslogtreecommitdiff
path: root/src/op.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/op.cc')
-rw-r--r--src/op.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/op.cc b/src/op.cc
index f4bc28fc..3876784d 100644
--- a/src/op.cc
+++ b/src/op.cc
@@ -164,6 +164,11 @@ value_t expr_t::op_t::calc(scope_t& scope, ptr_op_t * locus, const int depth)
result = as_value();
break;
+ case O_DEFINE:
+ //result = left()->calc(scope, locus, depth + 1);
+ result = NULL_VALUE;
+ break;
+
case IDENT: {
ptr_op_t definition = left();
if (! definition) {