aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/toys.h b/toys.h
index 9fd338ab..f431c748 100644
--- a/toys.h
+++ b/toys.h
@@ -132,6 +132,7 @@ extern struct toy_context {
int toycount; // Total number of commands in this build
int signal; // generic_signal() records what signal it saw here
int signalfd; // and writes signal to this fd, if set
+ int recursion; // How many nested calls to toy_exec()
// This is at the end so toy_init() doesn't zero it.
jmp_buf *rebound; // longjmp here instead of exit when do_rebound set