fix: incorrect use of a labeled switch in snippet

This commit is contained in:
CJ van den Berg 2025-12-09 18:52:01 +01:00
parent 288e23e8b0
commit 19751e7fd4
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -70,7 +70,7 @@ pub fn parse(allocator: std.mem.Allocator, snippet: []const u8) Error!Snippet {
max_id = @max(id orelse unreachable, max_id);
id = null;
state = .initial;
break :fsm;
continue :fsm .initial;
},
},
.placeholder => switch (c) {