mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-07 05:23:12 +00:00
Change union layout to store type info rather than an integer; ternary expression for types with constant condition
This commit is contained in:
@@ -4942,7 +4942,7 @@ ParseFileError parse_files(Parser *p, String init_filename) {
|
||||
GB_ASSERT(init_filename.text[init_filename.len] == 0);
|
||||
|
||||
char *fullpath_str = gb_path_get_full_name(heap_allocator(), cast(char *)&init_filename[0]);
|
||||
String init_fullpath = make_string_c(fullpath_str);
|
||||
String init_fullpath = string_trim_whitespace(make_string_c(fullpath_str));
|
||||
TokenPos init_pos = {};
|
||||
ImportedFile init_imported_file = {init_fullpath, init_fullpath, init_pos};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user