diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-06-18 11:07:27 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-06-18 11:07:27 -0300 |
commit | c33b1728aeb7dfeec4013562660e07d32697aa6b (patch) | |
tree | 0aebcad8875f137b63b4593d8e66a956c21e035b /lundump.c | |
parent | a304199836ef37af6912a1da6f9b6cad33466a84 (diff) | |
download | lua-c33b1728aeb7dfeec4013562660e07d32697aa6b.tar.gz lua-c33b1728aeb7dfeec4013562660e07d32697aa6b.tar.bz2 lua-c33b1728aeb7dfeec4013562660e07d32697aa6b.zip |
Detailsv5.4.0
Added as incompatibility, in the manual, the extra return of 'io.lines'.
Diffstat (limited to 'lundump.c')
-rw-r--r-- | lundump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | 27 | ||
28 | #if !defined(luai_verifycode) | 28 | #if !defined(luai_verifycode) |
29 | #define luai_verifycode(L,b,f) /* empty */ | 29 | #define luai_verifycode(L,f) /* empty */ |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | 32 | ||
@@ -317,7 +317,7 @@ LClosure *luaU_undump(lua_State *L, ZIO *Z, const char *name) { | |||
317 | luaC_objbarrier(L, cl, cl->p); | 317 | luaC_objbarrier(L, cl, cl->p); |
318 | loadFunction(&S, cl->p, NULL); | 318 | loadFunction(&S, cl->p, NULL); |
319 | lua_assert(cl->nupvalues == cl->p->sizeupvalues); | 319 | lua_assert(cl->nupvalues == cl->p->sizeupvalues); |
320 | luai_verifycode(L, buff, cl->p); | 320 | luai_verifycode(L, cl->p); |
321 | return cl; | 321 | return cl; |
322 | } | 322 | } |
323 | 323 | ||