From 980231a345e5a5e9c3b4eb7f84896e6fccb429b5 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 14 Dec 2014 17:56:45 -0800 Subject: Added comment. --- src/inlines.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/inlines.c b/src/inlines.c index 0ff5e0f..872a9c3 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -254,6 +254,7 @@ scan_delims(subject* subj, unsigned char c, bool * can_open, bool * can_close) before_char = 10; } else { before_char_pos = subj->pos - 1; + // walk back to the beginning of the UTF_8 sequence: while (peek_at(subj, before_char_pos) >> 6 == 2 && before_char_pos > 0) { before_char_pos -= 1; -- cgit v1.2.3