From 0d2359a376086f55fc6219cc2801eb4e58069ad4 Mon Sep 17 00:00:00 2001 From: andreas_kupries Date: Thu, 2 Oct 2008 23:03:58 +0000 Subject: * doc/info.n: Fixed [SF Bug 2134049]. Rephrased the documentation of 'info frame' for positive numbers as level argument. --- ChangeLog | 3 +++ doc/info.n | 11 ++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index b049f4a..3243dfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-10-02 Andreas Kupries + * doc/info.n: Fixed [SF Bug 2134049]. Rephrased the documentation + of 'info frame' for positive numbers as level argument. + * tests/info.test (info-22.8): Fixed [SF Bug 2129828]. Made pattern for file containing tcltest less specific to accept both .tcl and .tm variants of the file during matching. diff --git a/doc/info.n b/doc/info.n index e1b877b..66ec0c4 100644 --- a/doc/info.n +++ b/doc/info.n @@ -8,7 +8,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: info.n,v 1.29 2008/10/02 19:01:30 mistachkin Exp $ +'\" RCS: @(#) $Id: info.n,v 1.30 2008/10/02 23:03:58 andreas_kupries Exp $ '\" .so man.macros .TH info n 8.4 Tcl "Tcl Built-In Commands" @@ -104,10 +104,11 @@ information for the command at the \fInumber\fRed level on the stack. .RS .PP If \fInumber\fR is positive (> 0) then it selects a particular stack -level (1 refers to the top-most active command, i.e., \fBinfo frame\fR -itself, 2 to the command it was called from, and so on); otherwise it -gives a level relative to the current command (0 refers to the current -command, i.e., \fBinfo frame\fR itself, -1 to its caller, and so on). +level (1 refers to the outer-most active command, 2 to the command it +called, and so on, up to the current frame level which refers to +\fBinfo frame\fR itself); otherwise it gives a level relative to the +current command (0 refers to the current command, i.e., \fBinfo +frame\fR itself, -1 to its caller, and so on). .PP This is similar to how \fBinfo level\fR works, except that this subcommand reports all frames, like \fBsource\fRd scripts, -- cgit v0.12