Explorar o código

Allow `+` in import paths

gingerBill %!s(int64=4) %!d(string=hai) anos
pai
achega
9ab94650c8
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/parser.cpp

+ 1 - 2
src/parser.cpp

@@ -5018,10 +5018,9 @@ AstPackage *try_add_import_path(Parser *p, String const &path, String const &rel
 
 gb_global Rune illegal_import_runes[] = {
 	'"', '\'', '`',
-	// ' ',
 	'\t', '\r', '\n', '\v', '\f',
 	'\\', // NOTE(bill): Disallow windows style filepaths
-	'!', '$', '%', '^', '&', '*', '(', ')', '=', '+',
+	'!', '$', '%', '^', '&', '*', '(', ')', '=',
 	'[', ']', '{', '}',
 	';',
 	':', // NOTE(bill): Disallow windows style absolute filepaths