summaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ltable.c b/ltable.c
index c7a7606b..7eb1f4a9 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.c,v 2.47 2009/12/17 15:46:44 roberto Exp roberto $ 2** $Id: ltable.c,v 2.48 2010/04/05 16:26:37 roberto Exp roberto $
3** Lua tables (hash) 3** Lua tables (hash)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -109,6 +109,8 @@ static Node *mainposition (const Table *t, const TValue *key) {
109 return hashboolean(t, bvalue(key)); 109 return hashboolean(t, bvalue(key));
110 case LUA_TLIGHTUSERDATA: 110 case LUA_TLIGHTUSERDATA:
111 return hashpointer(t, pvalue(key)); 111 return hashpointer(t, pvalue(key));
112 case LUA_TCFP:
113 return hashpointer(t, fvalue(key));
112 default: 114 default:
113 return hashpointer(t, gcvalue(key)); 115 return hashpointer(t, gcvalue(key));
114 } 116 }