diff options
Diffstat (limited to 'Src/parse.c')
-rw-r--r-- | Src/parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/parse.c b/Src/parse.c index 722809a78..59459870a 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -3415,6 +3415,7 @@ dump_autoload(char *nam, char *file, int on, Options ops, int func) shf = (Shfunc) zshcalloc(sizeof *shf); shf->node.flags = on; shf->funcdef = mkautofn(shf); + shf->emulation = 0; shfunctab->addnode(shfunctab, ztrdup(fdname(n) + fdhtail(n)), shf); if (OPT_ISSET(ops,'X') && eval_autoload(shf, shf->node.nam, ops, func)) ret = 1; |