Depth check

This commit is contained in:
2022-09-07 19:00:24 +01:00
parent 9a55ff221a
commit 28b1b8e2cc
4 changed files with 17 additions and 22 deletions

View File

@@ -27,6 +27,7 @@ typedef struct Interpreter {
PrintFn assertOutput;
PrintFn errorOutput;
int depth; //don't overflow
bool panic;
} Interpreter;