aboutsummaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-07-19 19:40:43 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-07-19 19:40:43 -0700
commit711fe47a7f651f38e090c9a20ecef11feba6f705 (patch)
tree98a3283e7c630919a08f8bd95326ceeb1a93da9e /utf8.h
parent62e7d654bd70db89cb38e5d9efeb9a9b0e9cf202 (diff)
Overhaul of word boundaries/edges. Now they use \b, which is implemented
in C, and the C code understands UTF8 id chars.
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index ae2df2a..9c43f13 100644
--- a/utf8.h
+++ b/utf8.h
@@ -12,6 +12,10 @@ __attribute__((nonnull, pure))
const char *next_char(file_t *f, const char *str);
__attribute__((nonnull, pure))
const char *prev_char(file_t *f, const char *str);
+__attribute__((nonnull, pure))
+bool isidstart(file_t *f, const char *str);
+__attribute__((nonnull, pure))
+bool isidcontinue(file_t *f, const char *str);
#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1