clean up metaprogram multiline string line endings; fix rdi_from_pdb build

This commit is contained in:
Ryan Fleury
2024-06-01 19:24:46 -07:00
parent 45f69b6f98
commit cdf0b67354
5 changed files with 1210 additions and 1211 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ mg_escaped_from_str8(Arena *arena, String8 string)
U64 start = 0;
for(U64 idx = 0; idx <= string.size; idx += 1)
{
if(idx == string.size || string.str[idx] == '\\')
if(idx == string.size || string.str[idx] == '\\' || string.str[idx] == '\r')
{
String8 str = str8_substr(string, r1u64(start, idx));
if(str.size != 0)