diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-30 19:20:37 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1994-11-30 19:20:37 -0200 |
commit | e742d542534637c7c64e7acd461512c80646a475 (patch) | |
tree | 2a03e16c8958a299dc0ff74b3d22edd75bc16995 | |
parent | 0f580df73c35d7743df43476b1ab4a6456c6b6cd (diff) | |
download | lua-e742d542534637c7c64e7acd461512c80646a475.tar.gz lua-e742d542534637c7c64e7acd461512c80646a475.tar.bz2 lua-e742d542534637c7c64e7acd461512c80646a475.zip |
small bug correction
-rw-r--r-- | opcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_opcode="$Id: opcode.c,v 3.21 1994/11/22 16:02:53 roberto Exp roberto $"; | 6 | char *rcs_opcode="$Id: opcode.c,v 3.22 1994/11/23 14:31:11 roberto Stab roberto $"; |
7 | 7 | ||
8 | #include <setjmp.h> | 8 | #include <setjmp.h> |
9 | #include <stdio.h> | 9 | #include <stdio.h> |
@@ -485,7 +485,7 @@ void lua_endblock (void) | |||
485 | */ | 485 | */ |
486 | int lua_storesubscript (void) | 486 | int lua_storesubscript (void) |
487 | { | 487 | { |
488 | static Byte code[2] = {STOREINDEXED, RETCODE0}; | 488 | static Byte code[2] = {STOREINDEXED0, RETCODE0}; |
489 | Object func; | 489 | Object func; |
490 | tag(&func) = LUA_T_FUNCTION; bvalue(&func) = code; | 490 | tag(&func) = LUA_T_FUNCTION; bvalue(&func) = code; |
491 | adjustC(3); | 491 | adjustC(3); |