mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
Merge pull request #293 from MopedSnigelSoppa/v2.0
Fixes: warning: ISO C forbids empty initializer braces before C23
This commit is contained in:
commit
ab3a9b7584
@ -906,7 +906,7 @@ pk_FrameResult pk_VM__run_top_frame(pk_VM* self) {
|
||||
c11__unreachedable();
|
||||
|
||||
__ERROR:
|
||||
pk_print_stack(self, frame, (Bytecode){});
|
||||
pk_print_stack(self, frame, (Bytecode){0});
|
||||
py_BaseException__set_lineno(&self->curr_exception, Frame__lineno(frame), frame->co);
|
||||
__ERROR_RE_RAISE:
|
||||
do {} while(0);
|
||||
|
@ -356,7 +356,7 @@ static bool
|
||||
}
|
||||
|
||||
pk_FrameResult pk_VM__vectorcall(pk_VM* self, uint16_t argc, uint16_t kwargc, bool opcall) {
|
||||
pk_print_stack(self, self->top_frame, (Bytecode){});
|
||||
pk_print_stack(self, self->top_frame, (Bytecode){0});
|
||||
|
||||
py_Ref p1 = self->stack.sp - kwargc * 2;
|
||||
py_Ref p0 = p1 - argc - 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user