diff options
author | glenda <glenda@cirno> | 2022-09-12 15:38:48 +0000 |
---|---|---|
committer | glenda <glenda@cirno> | 2022-09-12 15:38:48 +0000 |
commit | 18c383ac2da9b56a84374645eac3868de0c9331e (patch) | |
tree | 2673338b6522b1b410b6f25660b94b04a84f9814 /functions.c | |
parent | 9f463939c96f8528819c66678c1be0c6333cdd11 (diff) |
Try to throw errors on C stack overflows
Diffstat (limited to 'functions.c')
-rw-r--r-- | functions.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |