Mac Debugging
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user