mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-16 19:51:47 -07:00
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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user