diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-08-11 19:22:54 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-08-11 19:22:54 +0000 |
commit | 2853ca830ac8d504b7374de2be0ec82122d33c2d (patch) | |
tree | d86ea41af13f51f6a9549833a3463c6da307bfc0 /Doc | |
parent | 2e485d60ffbf14a461a2d814b30245a9141abeb7 (diff) | |
download | zsh-2853ca830ac8d504b7374de2be0ec82122d33c2d.tar.gz zsh-2853ca830ac8d504b7374de2be0ec82122d33c2d.tar.xz zsh-2853ca830ac8d504b7374de2be0ec82122d33c2d.zip |
25247 with further modifications: add $funcsourcetrace
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/mod_parameter.yo | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Doc/Zsh/mod_parameter.yo b/Doc/Zsh/mod_parameter.yo index 434397fbf..d3ace6df0 100644 --- a/Doc/Zsh/mod_parameter.yo +++ b/Doc/Zsh/mod_parameter.yo @@ -164,6 +164,16 @@ item(tt(userdirs))( This associative array maps user names to the pathnames of their home directories. ) +vindex(funcsourcetrace) +item(tt(funcsourcetrace))( +This array contains the file names and line numbers of the +points where the functions currently being executed were +defined. The line number is the line where the `tt(function) var(name)' +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). +) vindex(funcstack) item(tt(funcstack))( This array contains the names of the functions currently being @@ -174,6 +184,6 @@ vindex(functrace) 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 name:lineno. +The format of each element is var(name)tt(:)var(lineno). ) enditem() |