diff options
author | dgp <dgp@users.sourceforge.net> | 2003-03-19 16:51:41 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-03-19 16:51:41 (GMT) |
commit | d9155272bb564f8042c5e7ff324807a01c31bc83 (patch) | |
tree | ae9311f08dbcb62362114996a3674c7d55de2c9c /generic/tclCompile.h | |
parent | dd21b2af3a8ddd0cbcffc3949ed0f9f581042d01 (diff) | |
download | tcl-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.h | 6 |
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 |