From b95f4087a86256a7e588b9b0e5c624ee875f9ab3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Jan 2021 23:08:32 -0800 Subject: Updated comment --- vm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index 6200e1b..a936f7a 100644 --- a/vm.c +++ b/vm.c @@ -32,7 +32,8 @@ __attribute__((nonnull, pure)) static match_t *get_capture_by_name(match_t *m, const char *name); // -// UTF8-compliant char iteration +// Return the location of the next character or UTF8 codepoint. +// (i.e. skip forward one codepoint at a time, not one byte at a time) // static inline const char *next_char(file_t *f, const char *str) { -- cgit v1.2.3