diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-09-12 17:33:03 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-09-12 17:33:03 -0300 |
commit | ec431ce5db562c62b3fc39d4475e96c4f448f863 (patch) | |
tree | f89d37b5a89fc4d5cc6942a69c4951ae6e5885c9 /ldo.c | |
parent | c8f47c293459c1173154a23b9f2713c3dbd8ed36 (diff) | |
download | lua-ec431ce5db562c62b3fc39d4475e96c4f448f863.tar.gz lua-ec431ce5db562c62b3fc39d4475e96c4f448f863.tar.bz2 lua-ec431ce5db562c62b3fc39d4475e96c4f448f863.zip |
comment
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 2.98 2011/06/28 15:42:04 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.99 2011/08/23 17:24:34 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -344,7 +344,7 @@ int luaD_precall (lua_State *L, StkId func, int nresults) { | |||
344 | } | 344 | } |
345 | default: { /* not a function */ | 345 | default: { /* not a function */ |
346 | func = tryfuncTM(L, func); /* retry with 'function' tag method */ | 346 | func = tryfuncTM(L, func); /* retry with 'function' tag method */ |
347 | return luaD_precall(L, func, nresults); | 347 | return luaD_precall(L, func, nresults); /* now it must be a function */ |
348 | } | 348 | } |
349 | } | 349 | } |
350 | } | 350 | } |