From 2332d48b0c2fff32f713c1716ed1cbf3e95aefab Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sat, 13 Jun 2026 13:47:16 +0100 Subject: [PATCH] runtime: adjust formatting --- bshell.runtime/command/cmdlet.c | 5 ++--- bshell.runtime/compile/command.c | 5 ++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bshell.runtime/command/cmdlet.c b/bshell.runtime/command/cmdlet.c index c5f838a..519932c 100644 --- a/bshell.runtime/command/cmdlet.c +++ b/bshell.runtime/command/cmdlet.c @@ -16,9 +16,8 @@ static enum bshell_status get_callable_name_static( const fx_type *ty, fx_string *out) { - bshell_cmdlet_class *class = fx_type_get_interface( - ty, - BSHELL_TYPE_CMDLET); + bshell_cmdlet_class *class + = fx_type_get_interface(ty, BSHELL_TYPE_CMDLET); if (!class) { return BSHELL_ERR_NOT_SUPPORTED; } diff --git a/bshell.runtime/compile/command.c b/bshell.runtime/compile/command.c index 9460706..aa1992f 100644 --- a/bshell.runtime/compile/command.c +++ b/bshell.runtime/compile/command.c @@ -6,7 +6,10 @@ enum bshell_status cmdcall_load( { struct bshell_cmdcall_ast_node *cmdcall; cmdcall = (struct bshell_cmdcall_ast_node *)value->v_node; - bshell_scriptblock_push_instruction(ctx->c_block, BSHELL_OPCODE_PEXEC, 1); + bshell_scriptblock_push_instruction( + ctx->c_block, + BSHELL_OPCODE_PEXEC, + 1); return BSHELL_SUCCESS; }