commit ec431ce5db562c62b3fc39d4475e96c4f448f863
parent c8f47c293459c1173154a23b9f2713c3dbd8ed36
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 12 Sep 2011 17:32:39 -0300
comment
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ldo.c b/ldo.c
@@ -1,5 +1,5 @@
/*
-** $Id: ldo.c,v 2.98 2011/06/28 15:42:04 roberto Exp roberto $
+** $Id: ldo.c,v 2.99 2011/08/23 17:24:34 roberto Exp roberto $
** Stack and Call structure of Lua
** See Copyright Notice in lua.h
*/
@@ -344,7 +344,7 @@ int luaD_precall (lua_State *L, StkId func, int nresults) {
}
default: { /* not a function */
func = tryfuncTM(L, func); /* retry with 'function' tag method */
- return luaD_precall(L, func, nresults);
+ return luaD_precall(L, func, nresults); /* now it must be a function */
}
}
}