summaryrefslogtreecommitdiff
path: root/symbol.c
diff options
context:
space:
mode:
authorglenda <glenda@cirno>2022-09-18 10:02:25 +0000
committerglenda <glenda@cirno>2022-09-18 10:02:25 +0000
commit0719e6cf67a4644282f97431024f6a350b45ff46 (patch)
tree5b0841c0055d2ad09b1d79a74a9f3b1bad855290 /symbol.c
parent917596b0ab7e0c15b38594c3cafa70f92719c231 (diff)
Implement ⎕SERIAL
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/symbol.c b/symbol.c
index 2f5165b..029ab0c 100644
--- a/symbol.c
+++ b/symbol.c
@@ -148,9 +148,10 @@ pushdfnframe(Rune *code, DfnFrame *scope, Datum *lefto, Datum *righto, Array *le
new->left->array = left;
incarrayref(left);
}else
- new->left = nil;
+ new->left = nil;
new->right = right;
- incarrayref(right);
+ if(right)
+ incarrayref(right);
new->prev = td->currentdfn;
new->chain = scope;
new->errorguards = nil;