hare

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

commit f7e05b481992ab16992fc6eb99f7afcb0bc01ae0
parent 375331765dd450c0343f5f5994857112e0f60a1c
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Tue,  8 Mar 2022 20:10:31 +0000

haredoc: fix ident parsing errors containing '{'

Signed-off-by: Eyal Sawady <ecs@d2evs.net>

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

diff --git a/cmd/haredoc/main.ha b/cmd/haredoc/main.ha @@ -101,7 +101,7 @@ export fn main() void = { if (len(cmd.args) < 1) [] else match (parseident(cmd.args[0])) { case let err: parse::error => - fmt::fatal(parse::strerror(err)); + fmt::fatal("{}", parse::strerror(err)); case let id: ast::ident => yield id; };