summaryrefslogtreecommitdiff
path: root/src/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scope.h')
-rw-r--r--src/scope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scope.h b/src/scope.h
index 3d1e5108..35b5332e 100644
--- a/src/scope.h
+++ b/src/scope.h
@@ -101,7 +101,7 @@ public:
virtual expr_t::ptr_op_t lookup(const string& name) {
if (parent)
return parent->lookup(name);
- return expr_t::ptr_op_t();
+ return NULL;
}
};