diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-07-19 12:15:21 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-07-19 12:15:21 +0100 |
| commit | 6113164211d5bd010ea324594d69668e5732817d (patch) | |
| tree | e31315edbdaefdc698dae9d5f78b1555207d97f4 /src/parser.cpp | |
| parent | 4db462a703d506f2ef23a16921a23a10115feacb (diff) | |
Change union layout to store type info rather than an integer; ternary expression for types with constant condition
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 651bed859..a7da2ee9e 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -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}; |