From 43513688929a6ab31c9f6a0a233848d1f4765364 Mon Sep 17 00:00:00 2001
From: dkf <donal.k.fellows@manchester.ac.uk>
Date: Wed, 20 Jan 2010 09:41:14 +0000
Subject: Document that [tailcall] doesn't work inside [catch]

---
 doc/tailcall.n | 8 +++++---
 1 file 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.
-- 
cgit v0.12