diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-03 11:27:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-03 11:27:44 -0300 |
commit | d68209e822c21d3678cc53f1e02ba1c9dd26e23e (patch) | |
tree | 76feb02bb882d8b40fd3b969017b811e39389dff /lvm.c | |
parent | 1088cde03c5551bab90e211e979b11278d666cd5 (diff) | |
download | lua-d68209e822c21d3678cc53f1e02ba1c9dd26e23e.tar.gz lua-d68209e822c21d3678cc53f1e02ba1c9dd26e23e.tar.bz2 lua-d68209e822c21d3678cc53f1e02ba1c9dd26e23e.zip |
details.
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.139 2000/10/02 20:10:55 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.140 2000/10/03 14:03:21 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 | */ |
@@ -174,7 +174,7 @@ void luaV_settable (lua_State *L, StkId t, StkId key) { | |||
174 | 174 | ||
175 | const TObject *luaV_getglobal (lua_State *L, TString *s) { | 175 | const TObject *luaV_getglobal (lua_State *L, TString *s) { |
176 | const TObject *value = luaH_getstr(L->gt, s); | 176 | const TObject *value = luaH_getstr(L->gt, s); |
177 | TObject *im = luaT_getimbyObj(L, value, IM_GETGLOBAL); | 177 | const TObject *im = luaT_getimbyObj(L, value, IM_GETGLOBAL); |
178 | if (ttype(im) == TAG_NIL) /* is there a tag method? */ | 178 | if (ttype(im) == TAG_NIL) /* is there a tag method? */ |
179 | return value; /* default behavior */ | 179 | return value; /* default behavior */ |
180 | else { /* tag method */ | 180 | else { /* tag method */ |