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)
commita6186a7ec76759ca6b8c287fc08185a0a81b2502 (patch)
tree7fd372e6b6da7d687825771394a6d4530166a8cb
parentf3a48000e4c73654b48530a402518c8c89c3be06 (diff)
downloadtcl-a6186a7ec76759ca6b8c287fc08185a0a81b2502.zip
tcl-a6186a7ec76759ca6b8c287fc08185a0a81b2502.tar.gz
tcl-a6186a7ec76759ca6b8c287fc08185a0a81b2502.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.