summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2003-03-19 16:51:41 (GMT)
committerdgp <dgp@users.sourceforge.net>2003-03-19 16:51:41 (GMT)
commitd9155272bb564f8042c5e7ff324807a01c31bc83 (patch)
treeae9311f08dbcb62362114996a3674c7d55de2c9c /tests
parentdd21b2af3a8ddd0cbcffc3949ed0f9f581042d01 (diff)
downloadtcl-d9155272bb564f8042c5e7ff324807a01c31bc83.zip
tcl-d9155272bb564f8042c5e7ff324807a01c31bc83.tar.gz
tcl-d9155272bb564f8042c5e7ff324807a01c31bc83.tar.bz2
* generic/tclCompCmds.c (TclCompileReturnCmd): Alternative fix for
* generic/tclCompile.c (INST_RETURN): [Bug 633204] that uses a new * generic/tclCompile.h (INST_RETURN): bytecode INST_RETURN to * generic/tclExecute.c (INST_RETURN): properly bytecode the [return] command to something that returns TCL_RETURN.
Diffstat (limited to 'tests')
-rw-r--r--tests/compile.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compile.test b/tests/compile.test
index e31da81..6369313 100644
--- a/tests/compile.test
+++ b/tests/compile.test
@@ -11,7 +11,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: compile.test,v 1.24 2003/01/08 00:34:59 dgp Exp $
+# RCS: @(#) $Id: compile.test,v 1.25 2003/03/19 16:51:43 dgp Exp $
package require tcltest 2
namespace import -force ::tcltest::*
@@ -331,7 +331,7 @@ test compile-14.1 {testing errors in element name; segfault?} {} {
list $msg1 $msg2
} {{wrong # args: should be "error message ?errorInfo? ?errorCode?"} {can't read "abba": no such variable}}
-# Next 4 tests cover Tcl Bug 633204
+# Tests compile-15.* cover Tcl Bug 633204
test compile-15.1 {proper TCL_RETURN code from [return]} {
proc p {} {catch return}
set result [p]