From 18c383ac2da9b56a84374645eac3868de0c9331e Mon Sep 17 00:00:00 2001 From: glenda Date: Mon, 12 Sep 2022 15:38:48 +0000 Subject: Try to throw errors on C stack overflows --- functions.c | 1 + 1 file changed, 1 insertion(+) (limited to 'functions.c') diff --git a/functions.c b/functions.c index 0013d8f..3559050 100644 --- a/functions.c +++ b/functions.c @@ -128,6 +128,7 @@ Array *indexOfHelper(Array *, Array *, int); Array * runfunc(Function f, Array *left, Array *right) { + checkstack(); Array *result; if(f.type == FunctypeDfn || (f.type == FunctypeOp && f.operator.type == OperatortypeDop)){ Rune *code; -- cgit v1.2.3