aboutsummaryrefslogtreecommitdiff
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 572564d7..1067acbd 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 2.54 2011/04/28 14:00:11 roberto Exp roberto $ 2** $Id: lcode.c,v 2.55 2011/05/31 18:24:36 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*/
@@ -296,7 +296,7 @@ static int addk (FuncState *fs, TValue *key, TValue *v) {
296 if (ttisnumber(idx)) { 296 if (ttisnumber(idx)) {
297 lua_Number n = nvalue(idx); 297 lua_Number n = nvalue(idx);
298 lua_number2int(k, n); 298 lua_number2int(k, n);
299 if (luaV_rawequalObj(&f->k[k], v)) 299 if (luaV_rawequalobj(&f->k[k], v))
300 return k; 300 return k;
301 /* else may be a collision (e.g., between 0.0 and "\0\0\0\0\0\0\0\0"); 301 /* else may be a collision (e.g., between 0.0 and "\0\0\0\0\0\0\0\0");
302 go through and create a new entry for this value */ 302 go through and create a new entry for this value */