summaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-06-18 11:07:27 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-06-18 11:07:27 -0300
commitc33b1728aeb7dfeec4013562660e07d32697aa6b (patch)
tree0aebcad8875f137b63b4593d8e66a956c21e035b /lundump.c
parenta304199836ef37af6912a1da6f9b6cad33466a84 (diff)
downloadlua-github-c33b1728aeb7dfeec4013562660e07d32697aa6b.tar.gz
Added as incompatibility, in the manual, the extra return of 'io.lines'.
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lundump.c b/lundump.c
index 77ba1955..4243678a 100644
--- a/lundump.c
+++ b/lundump.c
@@ -26,7 +26,7 @@
#if !defined(luai_verifycode)
-#define luai_verifycode(L,b,f) /* empty */
+#define luai_verifycode(L,f) /* empty */
#endif
@@ -317,7 +317,7 @@ LClosure *luaU_undump(lua_State *L, ZIO *Z, const char *name) {
luaC_objbarrier(L, cl, cl->p);
loadFunction(&S, cl->p, NULL);
lua_assert(cl->nupvalues == cl->p->sizeupvalues);
- luai_verifycode(L, buff, cl->p);
+ luai_verifycode(L, cl->p);
return cl;
}