std.zon.parse: fix not initializing array sentinel
This commit is contained in:
committed by
Alex Rønne Petersen
parent
8d5b651c3a
commit
582b96c361
@@ -717,6 +717,7 @@ const Parser = struct {
|
||||
|
||||
elem.* = try self.parseExpr(array_info.child, nodes.at(@intCast(i)));
|
||||
}
|
||||
if (array_info.sentinel()) |s| result[result.len] = s;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user