From b808bf443498974dca3cb70559e164f131047dca Mon Sep 17 00:00:00 2001 From: Krzosa Karol Date: Sat, 27 Jan 2024 22:14:09 +0100 Subject: [PATCH] Mac Debugging --- core_library/filesystem.c | 2 +- tests/test_main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core_library/filesystem.c b/core_library/filesystem.c index 49c7569..ab58eb7 100644 --- a/core_library/filesystem.c +++ b/core_library/filesystem.c @@ -426,7 +426,7 @@ OS_API S8_String OS_GetExeDir(MA_Arena *arena) { MA_Checkpoint scratch = MA_GetScratch(); S8_String path = OS_GetExePath(scratch.arena); S8_String dir = S8_ChopLastSlash(path); - IO_Printf("DIR: %.*s\n", S8_Expand(dir)); + IO_Printf("DIR: %.*s\n", S8_Expand(path)); S8_String copy = S8_Copy(arena, dir); MA_ReleaseScratch(scratch); return copy; diff --git a/tests/test_main.cpp b/tests/test_main.cpp index 967e67f..ad16fc2 100644 --- a/tests/test_main.cpp +++ b/tests/test_main.cpp @@ -20,8 +20,8 @@ int main() { TestBootstrapExclusive(); TestBootstrapArenaClear(); - TestClexer(); - IO_Printf("TestClexer() - DONE\n"); + // TestClexer(); + // IO_Printf("TestClexer() - DONE\n"); // Unicode iteration over codepoints using For {