diff options
| author | gingerBill <bill@gingerbill.org> | 2023-08-01 11:39:04 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-08-01 11:39:04 +0100 |
| commit | 65206fe33e52a707134c919c01a0f8ae2d19c2d8 (patch) | |
| tree | 2280e4e6c075e59eef0d86a269209641feeb843c /src/parser.cpp | |
| parent | 2f094134a3e54cb6b99daf09b6a257b36f182b6e (diff) | |
Go through loads of `TODO`s
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 1aa03033e..78120507d 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -4968,7 +4968,6 @@ gb_internal bool init_parser(Parser *p) { gb_internal void destroy_parser(Parser *p) { GB_ASSERT(p != nullptr); - // TODO(bill): Fix memory leak for (AstPackage *pkg : p->packages) { for (AstFile *file : pkg->files) { destroy_ast_file(file); @@ -5012,7 +5011,6 @@ gb_internal WORKER_TASK_PROC(parser_worker_proc) { gb_internal void parser_add_file_to_process(Parser *p, AstPackage *pkg, FileInfo fi, TokenPos pos) { - // TODO(bill): Use a better allocator ImportedFile f = {pkg, fi, pos, p->file_to_process_count++}; auto wd = gb_alloc_item(permanent_allocator(), ParserWorkerData); wd->parser = p; |