aboutsummaryrefslogtreecommitdiff
path: root/src/interp.h
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-06-24 01:42:43 +0800
committerMistivia <i@mistivia.com>2025-06-24 01:42:54 +0800
commit60b8cd0df3ed844ea5c77286ac27afff5b3c9b37 (patch)
treeccfb1b302dc66a74240ad8ad043ac6212f7b47d4 /src/interp.h
parent53f91d1f31b0b4d53560dc2dbeb0e8e50eada2d0 (diff)
stack overflow check
Diffstat (limited to 'src/interp.h')
-rw-r--r--src/interp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interp.h b/src/interp.h
index 4b9caba..96173a7 100644
--- a/src/interp.h
+++ b/src/interp.h
@@ -36,6 +36,7 @@ struct interp {
Parser *parser;
int gensym_cnt;
bool alwaysgc;
+ int recursion_depth;
};
void Interp_init(Interp *self);