summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2001-09-04 11:54:27 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2001-09-04 11:54:27 (GMT)
commitbaf84f971d4274324372aab6f0fd968c63d7dcd4 (patch)
treeb532b5860809bee8e28f1e582bbf025fd008249c
parent3a6e32d81ecc3bd4de3c17e9777c1d1901feddca (diff)
downloadtcl-baf84f971d4274324372aab6f0fd968c63d7dcd4.zip
tcl-baf84f971d4274324372aab6f0fd968c63d7dcd4.tar.gz
tcl-baf84f971d4274324372aab6f0fd968c63d7dcd4.tar.bz2
fixed incorrect opreands for INST_LIST [Bug: 458241]
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclCompile.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1af9d66..af2eb33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-04 Miguel Sofer <msofer@users.sourceforge.net>
+
+ * generic/tclCompile.c: fixed incorrect opreands for INST_LIST
+ [Bug: 458241] (David Cuthbert, dacut@users.sourceforge.net)
+
2001-09-03 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclExecute.c (TclExecuteByteCode): fixed missing comma
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index f39ae24..8250b7e 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -10,7 +10,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.c,v 1.22 2001/05/17 02:13:02 hobbs Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.23 2001/09/04 11:54:27 msofer Exp $
*/
#include "tclInt.h"
@@ -222,7 +222,7 @@ InstructionDesc instructionTable[] = {
/* Str Index: push (strindex stknext stktop) */
{"strmatch", 1, 0, {OPERAND_NONE}},
/* Str Match: push (strmatch stkforenext stknext stktop) */
- {"list", 1, 0, {OPERAND_NONE}},
+ {"list", 5, 1, {OPERAND_UINT4}},
/* List: push (stk1 stk2 ... stktop) */
{"listindex", 1, 0, {OPERAND_NONE}},
/* List Index: push (listindex stknext stktop) */