summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/tailcall.n8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/tailcall.n b/doc/tailcall.n
index 2f8a305..93af2b5 100644
--- a/doc/tailcall.n
+++ b/doc/tailcall.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: tailcall.n,v 1.1 2009/03/19 16:14:52 dkf Exp $
+'\" RCS: @(#) $Id: tailcall.n,v 1.2 2010/01/20 09:41:14 dkf Exp $
'\"
.so man.macros
.TH tailcall n 8.6 Tcl "Tcl Built-In Commands"
@@ -25,10 +25,12 @@ in the current namespace context, not in the caller's. Apart from that
difference in resolution, it is equivalent to:
.PP
.CS
-uplevel 1 [list \fIcommand\fR ?\fIarg ...\fR?]
+return [uplevel 1 [list \fIcommand\fR ?\fIarg ...\fR?]]
.CE
.PP
-This command may not be invoked from within an \fBuplevel\fR into a procedure.
+This command may not be invoked from within an \fBuplevel\fR into a procedure
+or inside a \fBcatch\fR inside a procedure or lambda.
+'\" TODO: sort out the mess with the [try] command!
.SH EXAMPLE
.PP
Compute the factorial of a number.