aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-06-03 10:28:45 +0100
committergingerBill <bill@gingerbill.org>2021-06-03 10:28:45 +0100
commitba3f2a6a0cdea0aad2668823235ead4e193d91f6 (patch)
tree0b1aeccdd7d4ddb699f1d7b9379668aa93c46670 /src/parser.cpp
parentb9888f8f68214734620ec1bd607d19c7c7419198 (diff)
All spaces in `import`-like paths
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 88f8ebb99..2e8f8ff60 100644
--- a/src/parser.cpp
+++ b/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
'!', '$', '%', '^', '&', '*', '(', ')', '=', '+',
'[', ']', '{', '}',