From baf84f971d4274324372aab6f0fd968c63d7dcd4 Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Tue, 4 Sep 2001 11:54:27 +0000 Subject: fixed incorrect opreands for INST_LIST [Bug: 458241] --- ChangeLog | 5 +++++ generic/tclCompile.c | 4 ++-- 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 + + * generic/tclCompile.c: fixed incorrect opreands for INST_LIST + [Bug: 458241] (David Cuthbert, dacut@users.sourceforge.net) + 2001-09-03 Jeff Hobbs * 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) */ -- cgit v0.12