diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-08-13 21:02:02 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-08-13 21:02:02 +0000 |
commit | a5a1296fa01250eb30974ea798ef5918a0c9603f (patch) | |
tree | 47f06f1e55f242ff63f8868cb8ba3dc4429b88a4 /Src/exec.c | |
parent | 01f5d0a2741ed45f3c85493e88daafc2091259a9 (diff) | |
download | zsh-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.c | 1 |
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))) { |