From 9ab94650c80363568b2361c57ca203a5eebd2d8c Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 16 Aug 2021 18:21:58 +0100 Subject: Allow `+` in import paths --- src/parser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/parser.cpp') 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 -- cgit v1.2.3