Allow + in import paths

This commit is contained in:
gingerBill
2021-08-16 18:21:58 +01:00
parent fce86ff3d5
commit 9ab94650c8
+1 -2
View File
@@ -5018,10 +5018,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
'!', '$', '%', '^', '&', '*', '(', ')', '=', '+', '!', '$', '%', '^', '&', '*', '(', ')', '=',
'[', ']', '{', '}', '[', ']', '{', '}',
';', ';',
':', // NOTE(bill): Disallow windows style absolute filepaths ':', // NOTE(bill): Disallow windows style absolute filepaths