aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-10 08:44:06 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-09-10 08:44:06 -0400
commit75449283c2e3fd0ebfcd5594ad0b55aa895682e8 (patch)
tree441289056303125268c6220f82fe6cb3d3721f56 /core
parent70d396c8ad7b79e3e3676cfbb732565653f0d627 (diff)
Allow missing trailing comma with proc groups with odin parser
Diffstat (limited to 'core')
-rw-r--r--core/odin/parser/parser.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/odin/parser/parser.odin b/core/odin/parser/parser.odin
index 18dd9aa88..dab2d5d6a 100644
--- a/core/odin/parser/parser.odin
+++ b/core/odin/parser/parser.odin
@@ -2485,7 +2485,7 @@ parse_operand :: proc(p: ^Parser, lhs: bool) -> ^ast.Expr {
allow_token(p, .Comma) or_break
}
- close := expect_token(p, .Close_Brace)
+ close := expect_closing_brace_of_field_list(p)
if len(args) == 0 {
error(p, tok.pos, "expected at least 1 argument in procedure group")