mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix cdecl string parsing during recording.
This commit is contained in:
parent
a6458ce4de
commit
dd9e7a4608
@ -80,6 +80,7 @@ static CTypeID argv2ctype(jit_State *J, TRef tr, cTValue *o)
|
||||
oldtop = cp.cts->top;
|
||||
cp.srcname = strdata(s);
|
||||
cp.p = strdata(s);
|
||||
cp.param = NULL;
|
||||
cp.mode = CPARSE_MODE_ABSTRACT|CPARSE_MODE_NOIMPLICIT;
|
||||
if (lj_cparse(&cp) || cp.cts->top > oldtop) /* Avoid new struct defs. */
|
||||
lj_trace_err(J, LJ_TRERR_BADTYPE);
|
||||
|
Loading…
Reference in New Issue
Block a user