From a5a1296fa01250eb30974ea798ef5918a0c9603f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 13 Aug 2008 21:02:02 +0000 Subject: 25448: add $funcfiletrace to show absolute line number for caller --- Src/exec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Src/exec.c') 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))) { -- cgit v1.2.3