hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 7a2db287a1eed527edc155668844a99f030d3aac
parent a042e1b1e19bbb9ae2afe7ae0841e804f08eace3
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Fri, 26 Mar 2021 17:06:08 -0400

cmd/harec: use fmt::error when appropriate

Diffstat:
Mcmd/harec/errors.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/harec/errors.ha b/cmd/harec/errors.ha @@ -34,7 +34,7 @@ fn printerr_syntax(err: lex::syntax) void = { location.path, location.line, location.col, details); fmt::errorln(line); for (let i = 0u; i < location.col - 2; i += 1) { - fmt::errorf(" "); + fmt::error(" "); }; fmt::errorln("^--- here"); };