runtime: adjust formatting

This commit is contained in:
2026-06-13 13:47:16 +01:00
parent 73519eb7aa
commit 2332d48b0c
2 changed files with 6 additions and 4 deletions
+2 -3
View File
@@ -16,9 +16,8 @@ static enum bshell_status get_callable_name_static(
const fx_type *ty, const fx_type *ty,
fx_string *out) fx_string *out)
{ {
bshell_cmdlet_class *class = fx_type_get_interface( bshell_cmdlet_class *class
ty, = fx_type_get_interface(ty, BSHELL_TYPE_CMDLET);
BSHELL_TYPE_CMDLET);
if (!class) { if (!class) {
return BSHELL_ERR_NOT_SUPPORTED; return BSHELL_ERR_NOT_SUPPORTED;
} }
+4 -1
View File
@@ -6,7 +6,10 @@ enum bshell_status cmdcall_load(
{ {
struct bshell_cmdcall_ast_node *cmdcall; struct bshell_cmdcall_ast_node *cmdcall;
cmdcall = (struct bshell_cmdcall_ast_node *)value->v_node; 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; return BSHELL_SUCCESS;
} }