diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2026-01-24 14:06:31 +0100 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2026-01-24 14:06:31 +0100 |
| commit | 1c529d8cb217cc97138934f393b5670e16fd1843 (patch) | |
| tree | 2659eaaf726e451fd638c1264baf56d9326cb717 /src/parser.cpp | |
| parent | 8ffc98b4bf791e25e9281ddfe32a1308b5ccbed3 (diff) | |
Fix #6165
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 277a405b7..fe864a6bc 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -6023,6 +6023,12 @@ gb_internal bool determine_path_from_string(BlockingMutex *file_mutex, Ast *node has_windows_drive = true; } } + + for (isize i = 0; i < original_string.len; i++) { + if (original_string.text[i] == '\\') { + original_string.text[i] = '/'; + } + } } #endif |