diff options
| author | gingerBill <bill@gingerbill.org> | 2024-07-15 00:36:00 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-07-15 00:36:00 +0100 |
| commit | 018026d844c8ad3b625f019acee470dbb865d085 (patch) | |
| tree | c61e610bde307e9da891bb2c86ac0981dcd1e9da /src/parser.cpp | |
| parent | 139c1bcdda68c30c56ae26a9715a38074b9a1129 (diff) | |
Use `gb_zero_*` calls
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 4924dd37d..02c37815b 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -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); |