diff options
| author | gingerBill <bill@gingerbill.org> | 2021-06-03 10:28:45 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-06-03 10:28:45 +0100 |
| commit | ba3f2a6a0cdea0aad2668823235ead4e193d91f6 (patch) | |
| tree | 0b1aeccdd7d4ddb699f1d7b9379668aa93c46670 /src | |
| parent | b9888f8f68214734620ec1bd607d19c7c7419198 (diff) | |
All spaces in `import`-like paths
Diffstat (limited to 'src')
| -rw-r--r-- | src/parser.cpp | 4 |
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 '!', '$', '%', '^', '&', '*', '(', ')', '=', '+', '[', ']', '{', '}', |