commit d3bbb0c0676ce7901de15ab7affa66a1cb0261c3
parent b3cab957e9147b359a93e741e67955ce8c140a04
Author: Lou Woell <lou.woell@posteo.de>
Date:   Thu,  4 Sep 2025 15:47:50 +0200

small fixes

Diffstat:
Mcmd/harehelper/helper.ha | 2+-
Mcmd/harehelper/locate.ha | 5++++-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/cmd/harehelper/helper.ha b/cmd/harehelper/helper.ha @@ -54,7 +54,7 @@ export fn main () void = { for (let (k, v) .. cmd.opts) { switch(k){ case 'h' => - getopt::printhelp(os::stdout, "cleandir", help)!; + getopt::printhelp(os::stdout, "harehelper", help)!; os::exit(0); case 'p' => ctx.harepath = strings::join(":", ctx.harepath, v)!; diff --git a/cmd/harehelper/locate.ha b/cmd/harehelper/locate.ha @@ -24,7 +24,10 @@ fn locate (cmd: command, ctx: *module::context) void = { }; }; -fn locate_symbol (ctx: *module::context, id: ast::ident) (lex::location | void) = { +fn locate_symbol ( + ctx: *module::context, + id: ast::ident +) (lex::location | void) = { let ns: module::location = ident_ns(id); if(len(id) <= 1){