diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-31 20:39:36 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-31 20:39:36 -0500 |
commit | 442e0b92a09689cd75e2d20608572a279bef5390 (patch) | |
tree | 67d5e2a79ffcb1413ed10b49f70a185fef55ef68 /string32.c | |
parent | 68b3e3928e1bd05ebbb56810ae8b7a68ff5f12b0 (diff) |
more syntax highlighting
Diffstat (limited to 'string32.c')
-rw-r--r-- | string32.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -123,3 +123,7 @@ bool is32_alnum(char32_t c) { return c <= WINT_MAX && iswalnum((wint_t)c); } +// could this character appear in a C-style identifier? +bool is32_ident(char32_t c) { + return c <= WINT_MAX && (iswalnum((wint_t)c) || c == '_'); +} |