allocgate 2.0

This commit is contained in:
Robin Voetter
2022-12-03 02:35:40 +01:00
parent be59386118
commit a56d6e31a8
5 changed files with 15 additions and 15 deletions

View File

@@ -466,7 +466,7 @@ fn parseFnPtrSuffix(allocator: Allocator, xctok: *XmlCTokenizer, return_type: Ty
}
_ = try xctok.nextNoEof();
command_ptr.decl_type.command_ptr.params = params.toOwnedSlice();
command_ptr.decl_type.command_ptr.params = try params.toOwnedSlice();
return command_ptr;
}