Modifying the class hierarchy and removing globals, allocators, simplifying

This commit is contained in:
Karol Krzosa (Nokia)
2022-12-31 20:10:11 +01:00
parent ffd6bc5d23
commit d75c54f61f
11 changed files with 153 additions and 168 deletions

View File

@@ -771,7 +771,7 @@ gen_ast(Ast *ast){
CORE_Static String
compile_to_c_code(){
generating_time_begin = os_time();
pctx->generating_time_begin = os_time();
prefixed_string_type = string_fmt(pctx->perm, "%QString", symbol_prefix);
if(single_header_library_mode){
@@ -977,6 +977,6 @@ typedef struct String{
String string_result = string_flatten(pctx->perm, &pctx->gen);
generating_time_end = os_time();
pctx->generating_time_end = os_time();
return string_result;
}