hare

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

commit 82f878ecec4cd9415686c24c3fefece16ad1bc14
parent cdf246ef85e7bf8a373518f5bd6e2c959da57922
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Mon,  1 Mar 2021 14:57:34 -0500

lex::syntaxerr: remove now-unnecessary casts

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

diff --git a/hare/lex/lex.ha b/hare/lex/lex.ha @@ -521,4 +521,4 @@ fn mkloc(lex: *lexer) location = location { col = lex.loc.1, }; -fn syntaxerr(loc: location, why: str) error = (loc, why): syntax: error; +fn syntaxerr(loc: location, why: str) error = (loc, why);