summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-02 14:37:21 -0500
committerpommicket <pommicket@gmail.com>2023-01-02 14:37:21 -0500
commitc91c49ab846603e332be8e6eacebcbbb0c45017d (patch)
tree4a6ab88f03afb20b767825a9db4ca26783e9f9a6 /build.c
parentfd866bf94487ee39cccdaea749407faa487fcee5 (diff)
clean some stuff up
Diffstat (limited to 'build.c')
-rw-r--r--build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.c b/build.c
index 6046b86..110a3c0 100644
--- a/build.c
+++ b/build.c
@@ -159,7 +159,7 @@ static int parse_nonnegative_integer(char32_t **str, char32_t *end) {
// could this character (reasonably) appear in a source file path?
static bool is_source_path(char32_t c) {
const char *allowed_ascii_symbols_in_path = "./\\-_:";
- return c > CHAR_MAX || isalnum((char)c)
+ return c > CHAR_MAX || is32_alnum((wint_t)c)
|| strchr(allowed_ascii_symbols_in_path, (char)c);
}