From e275bf9ff105bbb3e12fcf15e3ab755ed0cd26cf Mon Sep 17 00:00:00 2001 From: glenda Date: Sun, 18 Sep 2022 19:58:41 +0000 Subject: Chain the symbol tables, not the dfn frames --- eval.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index cd9b95a..9df4f4a 100644 --- a/eval.c +++ b/eval.c @@ -362,6 +362,8 @@ monadop(Datum *left, Datum *right) incdatumref(left); result->func.left = nil; result->func.scope = right->operator.scope; + if(result->func.scope) + result->func.scope->refs++; return result; } -- cgit v1.2.3