mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 07:50:27 +00:00
Update build script, remove windows build issues.
This commit is contained in:
parent
793981ce2b
commit
64d842d2ef
@ -99,6 +99,7 @@ copy README.md dist\README.md
|
||||
copy janet.lib dist\janet.lib
|
||||
copy janet.exp dist\janet.exp
|
||||
copy src\include\janet\janet.h dist\janet.h
|
||||
exit /b 0
|
||||
|
||||
:TESTFAIL
|
||||
@echo.
|
||||
|
@ -265,7 +265,7 @@ static void marshal_one_fiber(MarshalState *st, JanetFiber *fiber, int flags) {
|
||||
if (!frame->func) longjmp(st->err, MR_C_STACKFRAME);
|
||||
pushint(st, frame->flags);
|
||||
pushint(st, frame->prevframe);
|
||||
int32_t pcdiff = frame->pc - frame->func->def->bytecode;
|
||||
int32_t pcdiff = (int32_t)(frame->pc - frame->func->def->bytecode);
|
||||
pushint(st, pcdiff);
|
||||
marshal_one(st, janet_wrap_function(frame->func), flags + 1);
|
||||
if (frame->env) marshal_one_env(st, frame->env, flags + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user