about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-21 16:28:40 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-21 16:28:40 +0000
commit7c109429799172a7bd606593ecf58b8d49b5790f (patch)
tree7e686d6fde42a876adf503992d5ed4b7fb6aa703 /Src/zsh.h
parentefb93ed6a697d24ac2340b7c10f6ec86ee48d1e2 (diff)
downloadzsh-7c109429799172a7bd606593ecf58b8d49b5790f.tar.gz
zsh-7c109429799172a7bd606593ecf58b8d49b5790f.tar.xz
zsh-7c109429799172a7bd606593ecf58b8d49b5790f.zip
zsh-workers/9401
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 *));