code reformatted
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-03 00:33:59 +09:00
parent 531de73535
commit 81536cb66a
6 changed files with 94 additions and 95 deletions

View File

@ -2239,7 +2239,7 @@ static int run_block (hawk_rtx_t* rtx, hawk_nde_blk_t* nde)
rtx->depth.block >= rtx->hawk->opt.depth.s.block_run) rtx->depth.block >= rtx->hawk->opt.depth.s.block_run)
{ {
hawk_rtx_seterrnum(rtx, &nde->loc, HAWK_EBLKNST); hawk_rtx_seterrnum(rtx, &nde->loc, HAWK_EBLKNST);
return -1;; return -1;
} }
rtx->depth.block++; rtx->depth.block++;

View File

@ -294,7 +294,7 @@ struct cmdline_t
int argc; int argc;
}; };
static int handle_cmdline (MyHawk& awk, int argc, hawk_bch_t* argv[], cmdline_t* cmdline) static int handle_cmdline (MyHawk& hawk, int argc, hawk_bch_t* argv[], cmdline_t* cmdline)
{ {
static hawk_bcli_t opt = static hawk_bcli_t opt =
{ {
@ -351,9 +351,9 @@ static int handle_cmdline (MyHawk& awk, int argc, hawk_bch_t* argv[], cmdline_t*
cmdline->argc = 0; cmdline->argc = 0;
while (opt.ind < argc) while (opt.ind < argc)
{ {
if (awk.addArgument(argv[opt.ind++]) <= -1) if (hawk.addArgument(argv[opt.ind++]) <= -1)
{ {
print_error (awk); print_error(hawk);
return -1; return -1;
} }
} }

View File

@ -87,7 +87,6 @@ int execute_sed (int argc, hawk_bch_t* argv[])
} }
#endif #endif
sed.close(); sed.close();
return 0; return 0;
} }