summaryrefslogtreecommitdiffhomepage
path: root/ast.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-10-18 18:06:54 +0200
committerJo-Philipp Wich <jo@mein.io>2020-10-18 18:09:21 +0200
commit898a28de86600b62ddd5f971b910eaadc222bbb7 (patch)
tree7d4e18f136e50517f154c372f057937f1992ee77 /ast.h
parentd815d0e0ee00de41e792246ba1baddf1d68b0f59 (diff)
ast, eval: add recursion limit
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index f86d93f..26eee73 100644
--- a/ast.h
+++ b/ast.h
@@ -135,6 +135,7 @@ struct ut_state {
struct ut_source *sources, *source;
struct ut_callstack *callstack;
struct ut_function *function;
+ size_t calldepth;
};
struct ut_extended_type {