summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
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 /generic/tclCompile.h
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 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index bdd9ecc..993bfd4 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCompile.h,v 1.35 2003/03/13 02:48:53 dgp Exp $
+ * RCS: @(#) $Id: tclCompile.h,v 1.36 2003/03/19 16:51:42 dgp Exp $
*/
#ifndef _TCLCOMPILATION
@@ -522,8 +522,10 @@ typedef struct ByteCode {
#define INST_LSET_LIST 96
#define INST_LSET_FLAT 97
+#define INST_RETURN 98
+
/* The last opcode */
-#define LAST_INST_OPCODE 97
+#define LAST_INST_OPCODE 98
/*
* Table describing the Tcl bytecode instructions: their name (for