mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
FFI: Add missing link to parameters for C function declaration.
This commit is contained in:
parent
bc37edc911
commit
a148a6aa00
@ -1582,8 +1582,9 @@ static void cp_decl_func(CPState *cp, CPDecl *fdecl)
|
||||
}
|
||||
cp->tok = ';'; /* Ok for cp_decl_multi(), error in cp_decl_single(). */
|
||||
}
|
||||
cp_add(fdecl, info | (fdecl->fattr & ~CTMASK_CID), nargs);
|
||||
info |= (fdecl->fattr & ~CTMASK_CID);
|
||||
fdecl->fattr = 0;
|
||||
fdecl->stack[cp_add(fdecl, info, nargs)].sib = anchor;
|
||||
}
|
||||
|
||||
/* Parse declarator. */
|
||||
|
Loading…
Reference in New Issue
Block a user