aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-30 19:20:37 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-30 19:20:37 -0200
commite742d542534637c7c64e7acd461512c80646a475 (patch)
tree2a03e16c8958a299dc0ff74b3d22edd75bc16995
parent0f580df73c35d7743df43476b1ab4a6456c6b6cd (diff)
downloadlua-e742d542534637c7c64e7acd461512c80646a475.tar.gz
lua-e742d542534637c7c64e7acd461512c80646a475.tar.bz2
lua-e742d542534637c7c64e7acd461512c80646a475.zip
small bug correction
-rw-r--r--opcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcode.c b/opcode.c
index 144a573e..a6945ced 100644
--- a/opcode.c
+++ b/opcode.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_opcode="$Id: opcode.c,v 3.21 1994/11/22 16:02:53 roberto Exp roberto $"; 6char *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*/
486int lua_storesubscript (void) 486int 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);