diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-31 20:57:59 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-31 20:57:59 -0500 |
commit | dba51f5c1b7ac895239d2909358b323a92b77644 (patch) | |
tree | 0a2ab02c1f6add2a5046b61004f6c0fc0977afdd /string32.c | |
parent | 442e0b92a09689cd75e2d20608572a279bef5390 (diff) |
C syntax higlighting working
Diffstat (limited to 'string32.c')
-rw-r--r-- | string32.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -123,6 +123,10 @@ bool is32_alnum(char32_t c) { return c <= WINT_MAX && iswalnum((wint_t)c); } +bool is32_digit(char32_t c) { + return c <= WINT_MAX && iswdigit((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 == '_'); |