summaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-21 14:05:49 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-21 14:05:49 -0300
commitf51775950737eb4d097cda0bba143973b5385947 (patch)
tree35b85b279cafa961591353a236b9da1c7d5a4920 /lcode.c
parent52062684e11beffafbbbff0a8c7aa2642e40e47e (diff)
downloadlua-github-f51775950737eb4d097cda0bba143973b5385947.tar.gz
details
Diffstat (limited to 'lcode.c')
-rw-r--r--lcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcode.c b/lcode.c
index e2a8dc94..6e43f499 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
/*
-** $Id: lcode.c,v 1.35 2000/06/12 13:52:05 roberto Exp roberto $
+** $Id: lcode.c,v 1.36 2000/06/16 17:51:40 roberto Exp roberto $
** Code generator for Lua
** See Copyright Notice in lua.h
*/
@@ -632,7 +632,7 @@ int luaK_code2 (FuncState *fs, OpCode o, int arg1, int arg2) {
}
-const struct OpProperties luaK_opproperties[OP_SETLINE+1] = {
+const struct OpProperties luaK_opproperties[NUM_OPCODES] = {
{iO, 0}, /* OP_END */
{iU, 0}, /* OP_RETURN */
{iAB, 0}, /* OP_CALL */