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/zsh.h | |
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/zsh.h')
-rw-r--r-- | Src/zsh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index 173b89183..bff2aeb55 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1080,11 +1080,12 @@ struct shfunc { struct funcstack { Funcstack prev; /* previous in stack */ - char *name; /* name of function called */ + char *name; /* name of function/sourced file called */ char *filename; /* file function resides in */ char *caller; /* name of caller */ zlong flineno; /* line number in file */ zlong lineno; /* line offset from beginning of function */ + int sourced; /* type of entry is a sourced file */ }; /* node in list of function call wrappers */ |