Roberto Ierusalimschy 14 年之前
父节点
当前提交
ec431ce5db
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ldo.c

+ 2 - 2
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 */
     }
   }
 }