mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 07:50:27 +00:00
Fix english
This commit is contained in:
parent
2a79d2e749
commit
63dd6d03f4
@ -562,7 +562,7 @@ static JanetSignal run_vm(JanetFiber *fiber, Janet in) {
|
||||
if (janet_fiber_funcframe(fiber, func)) {
|
||||
int32_t n = fiber->stacktop - fiber->stackstart;
|
||||
janet_panicf("%v called with %d argument%s, expected %d",
|
||||
callee, n, n == 1 ? "s" : "", func->def->arity);
|
||||
callee, n, n == 1 ? "" : "s", func->def->arity);
|
||||
}
|
||||
stack = fiber->data + fiber->frame;
|
||||
pc = func->def->bytecode;
|
||||
@ -593,7 +593,7 @@ static JanetSignal run_vm(JanetFiber *fiber, Janet in) {
|
||||
janet_stack_frame(fiber->data + fiber->frame)->pc = pc;
|
||||
int32_t n = fiber->stacktop - fiber->stackstart;
|
||||
janet_panicf("%v called with %d argument%s, expected %d",
|
||||
callee, n, n == 1 ? "s" : "", func->def->arity);
|
||||
callee, n, n == 1 ? "" : "s", func->def->arity);
|
||||
}
|
||||
stack = fiber->data + fiber->frame;
|
||||
pc = func->def->bytecode;
|
||||
|
Loading…
Reference in New Issue
Block a user