diff options
| author | gingerBill <bill@gingerbill.org> | 2021-08-16 18:21:58 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-08-16 18:21:58 +0100 |
| commit | 9ab94650c80363568b2361c57ca203a5eebd2d8c (patch) | |
| tree | 89a46875cbfeb76d0c3cdab707b547e81bb385d6 /src/parser.cpp | |
| parent | fce86ff3d58dd38a6343053a76186e58a977bd72 (diff) | |
Allow `+` in import paths
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 8f3ffb8cc..2db8384a7 100644 --- a/src/parser.cpp +++ b/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 |