about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 7e22269bd..54141d2b7 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -296,6 +296,7 @@ typedef struct param     *Param;
 typedef struct paramdef  *Paramdef;
 typedef struct cmdnam    *Cmdnam;
 typedef struct shfunc    *Shfunc;
+typedef struct funcstack *Funcstack;
 typedef struct funcwrap  *FuncWrap;
 typedef struct builtin   *Builtin;
 typedef struct nameddir  *Nameddir;
@@ -823,6 +824,13 @@ struct shfunc {
 #define SFC_COMPLETE 5		/* called from completion code */
 #define SFC_CWIDGET  6		/* new style completion widget */
 
+/* node in function stack */
+
+struct funcstack {
+    Funcstack prev;		/* previous in stack */
+    char *name;			/* name of function called */
+};
+
 /* node in list of function call wrappers */
 
 typedef int (*WrapFunc) _((Eprog, FuncWrap, char *));