diff options
-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 | } |