From 64146b46da45ce69ab380add00459f7b60fe9196 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 6 Jan 2026 15:51:30 +0200 Subject: allow omitting ';' in trivial calls --- src/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/parser.y b/src/parser.y index 9607e71..5f46895 100644 --- a/src/parser.y +++ b/src/parser.y @@ -395,7 +395,7 @@ closures } call - : expr "(" opt_exprs ")" ";" { + : expr "(" opt_exprs ")" { $$ = gen_call($1, $[opt_exprs], src_loc(@$)); } | expr "(" opt_exprs ")" "=>" opt_vars ";" { -- cgit v1.2.3