From a6186a7ec76759ca6b8c287fc08185a0a81b2502 Mon Sep 17 00:00:00 2001 From: dgp Date: Thu, 4 Nov 2010 12:22:06 +0000 Subject: Correct typo and mistaken comment. --- ChangeLog | 2 +- generic/tclCompCmds.c | 4 ++-- 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 * 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. -- cgit v0.12