summaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-09-12 17:33:03 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-09-12 17:33:03 -0300
commitec431ce5db562c62b3fc39d4475e96c4f448f863 (patch)
treef89d37b5a89fc4d5cc6942a69c4951ae6e5885c9 /ldo.c
parentc8f47c293459c1173154a23b9f2713c3dbd8ed36 (diff)
downloadlua-ec431ce5db562c62b3fc39d4475e96c4f448f863.tar.gz
lua-ec431ce5db562c62b3fc39d4475e96c4f448f863.tar.bz2
lua-ec431ce5db562c62b3fc39d4475e96c4f448f863.zip
comment
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index 20b0a6ae..b74efd31 100644
--- a/ldo.c
+++ b/ldo.c
@@ -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}