Browse Source

All spaces in `import`-like paths

gingerBill 4 years ago
parent
commit
ba3f2a6a0c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/parser.cpp

+ 3 - 1
src/parser.cpp

@@ -4851,7 +4851,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',
+	'"', '\'', '`',
+	// ' ',
+	'\t', '\r', '\n', '\v', '\f',
 	'\\', // NOTE(bill): Disallow windows style filepaths
 	'!', '$', '%', '^', '&', '*', '(', ')', '=', '+',
 	'[', ']', '{', '}',