aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-12 00:47:20 +0000
committergingerBill <bill@gingerbill.org>2023-01-12 00:47:20 +0000
commit520ff731de908f63c8f5fe21ea058b8590d4285d (patch)
treed1c0cb00882295e742526883132d06a1d3feb864 /src/build_settings.cpp
parente9cfe698bad140fcfb6dda6baf1e8b2e00e52003 (diff)
Add `ArenaTemp` to the compiler
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp
index 0640c7982..122a010b2 100644
--- a/src/build_settings.cpp
+++ b/src/build_settings.cpp
@@ -1045,6 +1045,7 @@ gb_internal bool has_asm_extension(String const &path) {
// temporary
gb_internal char *token_pos_to_string(TokenPos const &pos) {
+ TEMPORARY_ALLOCATOR_GUARD();
gbString s = gb_string_make_reserve(temporary_allocator(), 128);
String file = get_file_path_string(pos.file_id);
switch (build_context.ODIN_ERROR_POS_STYLE) {