summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2010-11-04 12:22:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2010-11-04 12:22:06 (GMT)
commit2443e2771df48b35e22fd0a8a4f522f5d47653cb (patch)
tree7fd372e6b6da7d687825771394a6d4530166a8cb
parent30f4a9cff0493f988a6503a271990d08ae40055c (diff)
downloadtcl-2443e2771df48b35e22fd0a8a4f522f5d47653cb.zip
tcl-2443e2771df48b35e22fd0a8a4f522f5d47653cb.tar.gz
tcl-2443e2771df48b35e22fd0a8a4f522f5d47653cb.tar.bz2
Correct typo and mistaken comment.
-rw-r--r--ChangeLog2
-rw-r--r--generic/tclCompCmds.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 922b42b..dd39e22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,7 +13,7 @@
2010-11-03 Kevin B. Kenny <kennykb@acm.org>
* generic/tclCompCmds.c (TclCompileCatchCmd): [Bug 3098302]:
- * tests/compile.test (compile-3,6): Reworked the compilation of the
+ * tests/compile.test (compile-3.6): Reworked the compilation of the
[catch] command so as to avoid placing any code that might throw an
exception (specifically, any initial substitutions or any stores to
result or options variables) between the BEGIN_CATCH and END_CATCH but
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index 2353f77..b7f9eb2 100644
--- a/generic/tclCompCmds.c
+++ b/generic/tclCompCmds.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCompCmds.c,v 1.172 2010/11/03 00:59:22 kennykb Exp $
+ * RCS: @(#) $Id: tclCompCmds.c,v 1.173 2010/11/04 12:22:07 dgp Exp $
*/
#include "tclInt.h"
@@ -453,7 +453,7 @@ TclCompileCatchCmd(
TclEmitOpcode(INST_POP, envPtr);
/*
- * Stack is now ?script? result returnCode.
+ * Stack is now ?script? ?returnOptions? returnCode.
* If the options dict has been requested, it is buried on the stack
* under the return code. Reverse the stack to bring it to the top,
* store it and remove it from the stack.