Use gb_zero_* calls

This commit is contained in:
gingerBill committed 2024-07-15 00:36:00 +01:00
1 parent 139c1bcdda
commit 018026d844
5 files changed
+6 -13

No files matched your search

+1 -1
View File
@@ -5413,7 +5413,7 @@ gb_internal ParseFileError init_ast_file(AstFile *f, String const &fullpath, Tok
if (!string_ends_with(f->fullpath, str_lit(".odin"))) {
return ParseFile_WrongExtension;
}
zero_item(&f->tokenizer);
gb_zero_item(&f->tokenizer);
f->tokenizer.curr_file_id = f->id;
TokenizerInitError err = init_tokenizer_from_fullpath(&f->tokenizer, f->fullpath, build_context.copy_file_contents);