aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-02-23 14:30:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-02-23 14:30:22 -0300
commitd55bb795faaa3a632aeb92fd29fc12b796ae7968 (patch)
treee81b84b41de1264dd078cec37541716ba0ffcf27 /lvm.c
parentd84cc9d2dbf1f44e7126fe3ed9a82eed9757a63a (diff)
downloadlua-d55bb795faaa3a632aeb92fd29fc12b796ae7968.tar.gz
lua-d55bb795faaa3a632aeb92fd29fc12b796ae7968.tar.bz2
lua-d55bb795faaa3a632aeb92fd29fc12b796ae7968.zip
details
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 04007de6..add95d35 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.24 2005/02/18 12:40:02 roberto Exp roberto $ 2** $Id: lvm.c,v 2.25 2005/02/18 12:50:08 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -113,7 +113,7 @@ StkId luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val,
113 const TValue *tm; 113 const TValue *tm;
114 if (ttistable(t)) { /* `t' is a table? */ 114 if (ttistable(t)) { /* `t' is a table? */
115 Table *h = hvalue(t); 115 Table *h = hvalue(t);
116 const TValue *res = luaH_get(h, key); /* do a primitive set */ 116 const TValue *res = luaH_get(h, key); /* do a primitive get */
117 if (!ttisnil(res) || /* result is no nil? */ 117 if (!ttisnil(res) || /* result is no nil? */
118 (tm = fasttm(L, h->metatable, TM_INDEX)) == NULL) { /* or no TM? */ 118 (tm = fasttm(L, h->metatable, TM_INDEX)) == NULL) { /* or no TM? */
119 setobj2s(L, val, res); 119 setobj2s(L, val, res);