Mac Debugging

This commit is contained in:
Krzosa Karol
2024-01-27 22:14:09 +01:00
parent daa83bf874
commit b808bf4434
2 changed files with 3 additions and 3 deletions

View File

@@ -426,7 +426,7 @@ OS_API S8_String OS_GetExeDir(MA_Arena *arena) {
MA_Checkpoint scratch = MA_GetScratch(); MA_Checkpoint scratch = MA_GetScratch();
S8_String path = OS_GetExePath(scratch.arena); S8_String path = OS_GetExePath(scratch.arena);
S8_String dir = S8_ChopLastSlash(path); 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); S8_String copy = S8_Copy(arena, dir);
MA_ReleaseScratch(scratch); MA_ReleaseScratch(scratch);
return copy; return copy;

View File

@@ -20,8 +20,8 @@ int main() {
TestBootstrapExclusive(); TestBootstrapExclusive();
TestBootstrapArenaClear(); TestBootstrapArenaClear();
TestClexer(); // TestClexer();
IO_Printf("TestClexer() - DONE\n"); // IO_Printf("TestClexer() - DONE\n");
// Unicode iteration over codepoints using For // Unicode iteration over codepoints using For
{ {