hare

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

commit 167d72d81f1f6c419342972d2d5b48def11246a4
parent 0a7a2f54be3d8e2c5bc79a1a34968d9a0c4a738a
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 24 Feb 2021 13:18:50 -0500

main.ha: simplify error format

Diffstat:
Mmain.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.ha b/main.ha @@ -27,7 +27,7 @@ export fn main() void = { lex::tokstr(tok), if (tok is lex::name) "'" else ""); }, - err: lex::error => fmt::fatal("Error: {}", lex::errstr(err)), + err: lex::error => fmt::fatal("{}", lex::errstr(err)), io::EOF => break, * => abort(), };