diff options
author | dgp <dgp@users.sourceforge.net> | 2010-11-04 12:22:06 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2010-11-04 12:22:06 (GMT) |
commit | a6186a7ec76759ca6b8c287fc08185a0a81b2502 (patch) | |
tree | 7fd372e6b6da7d687825771394a6d4530166a8cb | |
parent | f3a48000e4c73654b48530a402518c8c89c3be06 (diff) | |
download | tcl-a6186a7ec76759ca6b8c287fc08185a0a81b2502.zip tcl-a6186a7ec76759ca6b8c287fc08185a0a81b2502.tar.gz tcl-a6186a7ec76759ca6b8c287fc08185a0a81b2502.tar.bz2 |
Correct typo and mistaken comment.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | generic/tclCompCmds.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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. |