diff options
author | Kevin B Kenny <kennykb@acm.org> | 2010-10-02 16:22:24 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2010-10-02 16:22:24 (GMT) |
commit | 53c93358cf3e60f1bf7b3d5756836d961007213f (patch) | |
tree | 7d0451660ada82e2fdb026ce61c363d429369b55 /generic/tclAssembly.c | |
parent | 845f29c25c98e563d2887cbfcf16f1963ecc20bb (diff) | |
download | tcl-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.c | 6 |
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} }; |