hare

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

commit 91a470d357a7db3712ccc6b797a784da0d549b5d
parent 7cb2afc71a8072b9b9831e3605c9aa9ee43d3e2b
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue, 20 Apr 2021 08:25:11 -0400

hare::parse: use cast for indirect target

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

diff --git a/hare/parse/expr.ha b/hare/parse/expr.ha @@ -18,7 +18,7 @@ export fn expression(lexer: *lex::lexer) (ast::expr | error) = { ]; const expr: ast::expr = if (indirect) { - const expr = unarithm(lexer)?; + const expr = cast(lexer, void)?; // Disambiguate between // * unary-expression assignment-op expression // and