summaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
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 49b7ed4f..694a715d 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 1.78 2001/07/24 17:19:07 roberto Exp roberto $ 2** $Id: lcode.c,v 1.79 2001/08/27 15:16:28 roberto Exp roberto $
3** Code generator for Lua 3** Code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -235,7 +235,7 @@ static int addk (FuncState *fs, TObject *k) {
235 MAXARG_Bc, l_s("constant table overflow")); 235 MAXARG_Bc, l_s("constant table overflow"));
236 setobj(&f->k[fs->nk], k); 236 setobj(&f->k[fs->nk], k);
237 setnvalue(&o, fs->nk); 237 setnvalue(&o, fs->nk);
238 setobj(luaH_set(fs->L, fs->h, k), &o); 238 luaH_set(fs->L, fs->h, k, &o);
239 return fs->nk++; 239 return fs->nk++;
240 } 240 }
241} 241}