Update to c_library.cpp (now up to ast.hpp)

This commit is contained in:
2024-12-06 05:29:36 -05:00
parent 92e0d3ab8b
commit ceea184d5a
2 changed files with 140 additions and 8 deletions

View File

@ -181,7 +181,7 @@ CodeFn rename_function_to_unique_symbol(CodeFn fn, StrC optional_prefix = txt(""
continue;
}
new_name.append_fmt("%SC_", to_str(spec));
new_name.append_fmt("%SC_", spec_to_str(spec));
}
}
@ -197,7 +197,7 @@ CodeFn rename_function_to_unique_symbol(CodeFn fn, StrC optional_prefix = txt(""
spec != end(fn->Specs);
++spec)
{
new_name.append_fmt("%SC_", to_str(*spec));
new_name.append_fmt("%SC_", spec_to_str(*spec));
}
}