Introduce the allocator stuff again

This commit is contained in:
Krzosa Karol
2022-12-31 16:51:01 +01:00
parent e20edaa3a2
commit 55515ff420
12 changed files with 71 additions and 44 deletions

View File

@@ -20,6 +20,7 @@ struct Lexer{
U32 token_debug_ids;
Intern_String intern(String string){
assert(string.len > 0);
return intern_string(&interns, string);
}
};