about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-08-12 20:25:14 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-08-12 20:25:14 +0000
commit01f5d0a2741ed45f3c85493e88daafc2091259a9 (patch)
tree3887eff7596c4da2d3a722216931248078d25ea0 /Doc
parentb2e70921b06eee523071218c8919a27c7f4ce206 (diff)
downloadzsh-01f5d0a2741ed45f3c85493e88daafc2091259a9.tar.gz
zsh-01f5d0a2741ed45f3c85493e88daafc2091259a9.tar.xz
zsh-01f5d0a2741ed45f3c85493e88daafc2091259a9.zip
25443 (tweaked): allow $functrace to show sourced files
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/mod_parameter.yo5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_parameter.yo b/Doc/Zsh/mod_parameter.yo
index d3ace6df0..0e096c968 100644
--- a/Doc/Zsh/mod_parameter.yo
+++ b/Doc/Zsh/mod_parameter.yo
@@ -173,6 +173,9 @@ or `var(name) tt(LPAR()RPAR())' started.  In the case of an autoloaded
 function in native zsh format where only the body of the function occurs
 in the file the line number is reported as zero.
 The format of each element is var(filename)tt(:)var(lineno).
+For files that have been executed by the tt(source) or tt(.) builtins
+(in which case there is no separate definition) the trace information is
+shown as tt(source:0).
 )
 vindex(funcstack)
 item(tt(funcstack))(
@@ -185,5 +188,7 @@ item(tt(functrace))(
 This array contains the names and line numbers of the callers
 corresponding to the functions currently being executed.
 The format of each element is var(name)tt(:)var(lineno).
+Callers are also shown for sourced files; the caller is the point
+where the tt(source) or tt(.) command was executed.
 )
 enditem()