summaryrefslogtreecommitdiffstats
path: root/generic/tclAssembly.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2010-10-02 16:22:24 (GMT)
committerKevin B Kenny <kennykb@acm.org>2010-10-02 16:22:24 (GMT)
commit53c93358cf3e60f1bf7b3d5756836d961007213f (patch)
tree7d0451660ada82e2fdb026ce61c363d429369b55 /generic/tclAssembly.c
parent845f29c25c98e563d2887cbfcf16f1963ecc20bb (diff)
downloadtcl-53c93358cf3e60f1bf7b3d5756836d961007213f.zip
tcl-53c93358cf3e60f1bf7b3d5756836d961007213f.tar.gz
tcl-53c93358cf3e60f1bf7b3d5756836d961007213f.tar.bz2
added missing tests: nsupvar, variable, upvar
Diffstat (limited to 'generic/tclAssembly.c')
-rw-r--r--generic/tclAssembly.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c
index 8232551..4797cc8 100644
--- a/generic/tclAssembly.c
+++ b/generic/tclAssembly.c
@@ -229,7 +229,7 @@ TalInstDesc TalInstructionTable[] = {
{"mult", ASSEM_1BYTE , INST_MULT , 2 , 1},
{"neq", ASSEM_1BYTE , INST_NEQ , 2 , 1},
{"not", ASSEM_1BYTE, INST_LNOT, 1, 1},
- {"nsupvar", ASSEM_LVT4, INST_NSUPVAR, 2, 1}.
+ {"nsupvar", ASSEM_LVT4, INST_NSUPVAR, 2, 1},
{"over", ASSEM_OVER, INST_OVER, INT_MIN, -1-1},
{"pop", ASSEM_1BYTE , INST_POP , 1 , 0},
{"reverse", ASSEM_REVERSE, INST_REVERSE, INT_MIN, -1-0},
@@ -273,8 +273,8 @@ TalInstDesc TalInstructionTable[] = {
{"unsetStk",
ASSEM_BOOL, INST_UNSET_STK, 1, 0},
{"uplus", ASSEM_1BYTE, INST_UPLUS, 1, 1},
- {"upvar", ASSEM_LVT4, INST_UPVAR, 2, 1}.
- {"variable",ASSEM_LVT4, INST_VARIABLE, 2, 1}.
+ {"upvar", ASSEM_LVT4, INST_UPVAR, 2, 1},
+ {"variable",ASSEM_LVT4, INST_VARIABLE, 1, 0},
{NULL, 0, 0,0}
};