diff options
author | pommicket <pommicket@gmail.com> | 2023-01-02 14:37:21 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-02 14:37:21 -0500 |
commit | c91c49ab846603e332be8e6eacebcbbb0c45017d (patch) | |
tree | 4a6ab88f03afb20b767825a9db4ca26783e9f9a6 /build.c | |
parent | fd866bf94487ee39cccdaea749407faa487fcee5 (diff) |
clean some stuff up
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |