hare

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

commit 093f10edccd19044a215746f4df1b947cd6f647a
parent 381d598e7a5799757b75f871096011fa899c6556
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 16 Apr 2021 10:37:31 -0400

hare::parse: style

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

diff --git a/hare/parse/expr.ha b/hare/parse/expr.ha @@ -216,8 +216,7 @@ fn plain_expression(lexer: *lex::lexer) (ast::expr | error) = { ltok::STRUCT => abort(), // TODO: Struct literal ltok::LPAREN => { let ex = expression(lexer); - return switch (want(lexer, - ltok::RPAREN, ltok::COMMA)?.0) { + return switch (want(lexer, ltok::RPAREN, ltok::COMMA)?.0) { ltok::RPAREN => ex, ltok::COMMA => abort(), // TODO: Tuple literal * => abort(),