mirror of
https://github.com/nmap/nmap.git
synced 2026-09-30 12:04:49 +00:00
Update liblua to Lua 5.4.6
This commit is contained in:
parent
c0e172806f
commit
38aa74ae83
42 changed files with 1003 additions and 734 deletions
|
|
@ -121,7 +121,7 @@ static int doargs(int argc, char* argv[])
|
|||
return i;
|
||||
}
|
||||
|
||||
#define FUNCTION "(function()end)();"
|
||||
#define FUNCTION "(function()end)();\n"
|
||||
|
||||
static const char* reader(lua_State* L, void* ud, size_t* size)
|
||||
{
|
||||
|
|
@ -138,7 +138,7 @@ static const char* reader(lua_State* L, void* ud, size_t* size)
|
|||
}
|
||||
}
|
||||
|
||||
#define toproto(L,i) getproto(s2v(L->top+(i)))
|
||||
#define toproto(L,i) getproto(s2v(L->top.p+(i)))
|
||||
|
||||
static const Proto* combine(lua_State* L, int n)
|
||||
{
|
||||
|
|
@ -155,8 +155,6 @@ static const Proto* combine(lua_State* L, int n)
|
|||
f->p[i]=toproto(L,i-n-1);
|
||||
if (f->p[i]->sizeupvalues>0) f->p[i]->upvalues[0].instack=0;
|
||||
}
|
||||
luaM_freearray(L,f->lineinfo,f->sizelineinfo);
|
||||
f->sizelineinfo=0;
|
||||
return f;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue