about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-08-13 21:02:02 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-08-13 21:02:02 +0000
commita5a1296fa01250eb30974ea798ef5918a0c9603f (patch)
tree47f06f1e55f242ff63f8868cb8ba3dc4429b88a4 /Src/exec.c
parent01f5d0a2741ed45f3c85493e88daafc2091259a9 (diff)
downloadzsh-a5a1296fa01250eb30974ea798ef5918a0c9603f.tar.gz
zsh-a5a1296fa01250eb30974ea798ef5918a0c9603f.tar.xz
zsh-a5a1296fa01250eb30974ea798ef5918a0c9603f.zip
25448: add $funcfiletrace to show absolute line number for caller
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/exec.c b/Src/exec.c
index f483f7aaf..08986afc3 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -4258,6 +4258,7 @@ doshfunc(char *name, Eprog prog, LinkList doshargs, int flags, int noreturnval)
     fstack.caller = dupstring(oargv0 ? oargv0 : argzero);
     fstack.lineno = lineno;
     fstack.prev = funcstack;
+    fstack.sourced = 0;
     funcstack = &fstack;
 
     if ((shf = (Shfunc) shfunctab->getnode(shfunctab, name))) {