From 2853ca830ac8d504b7374de2be0ec82122d33c2d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 11 Aug 2008 19:22:54 +0000 Subject: 25247 with further modifications: add $funcsourcetrace --- Doc/Zsh/mod_parameter.yo | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Doc') 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() -- cgit 1.4.1