Added as incompatibility, in the manual, the extra return of 'io.lines'.
This commit is contained in:
Roberto Ierusalimschy
2020-06-18 11:07:27 -03:00
parent a304199836
commit c33b1728ae
2 changed files with 13 additions and 2 deletions

View File

@@ -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;
}