Corrected order of Str to how the slice type is defined in Odin and RAD Debugger (my reference on slice types)

This commit is contained in:
ed committed 2024-12-13 13:20:16 -05:00
1 parent 6ffdca8595
commit 012fcb6bd5
18 files changed
+582 -341

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ AccessSpec tok_to_access_specifier(Token tok)
Str tok_to_str(Token tok)
{
Str str = { tok.Length, tok.Text };
Str str = { tok.Text, tok.Length };
return str;
}