TagFixerUpper

This commit is contained in:
Robin Voetter
2020-07-05 18:22:45 +02:00
parent 9b3eff5a72
commit 569c9df5c2
5 changed files with 152 additions and 17 deletions

View File

@@ -377,7 +377,7 @@ fn parseCommands(allocator: *Allocator, out: []registry.Declaration, commands_el
return i;
}
fn splitCommaAlloc(allocator: *Allocator, text: []const u8) ![]const []const u8 {
fn splitCommaAlloc(allocator: *Allocator, text: []const u8) ![][]const u8 {
var n_codes: usize = 1;
for (text) |c| {
if (c == ',') n_codes += 1;