All spaces in import-like paths

This commit is contained in:
gingerBill
2021-06-03 10:28:45 +01:00
parent b9888f8f68
commit ba3f2a6a0c
+3 -1
View File
@@ -4851,7 +4851,9 @@ AstPackage *try_add_import_path(Parser *p, String const &path, String const &rel
} }
gb_global Rune illegal_import_runes[] = { gb_global Rune illegal_import_runes[] = {
'"', '\'', '`', ' ', '\t', '\r', '\n', '\v', '\f', '"', '\'', '`',
// ' ',
'\t', '\r', '\n', '\v', '\f',
'\\', // NOTE(bill): Disallow windows style filepaths '\\', // NOTE(bill): Disallow windows style filepaths
'!', '$', '%', '^', '&', '*', '(', ')', '=', '+', '!', '$', '%', '^', '&', '*', '(', ')', '=', '+',
'[', ']', '{', '}', '[', ']', '{', '}',