diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-14 17:56:45 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-14 17:56:45 -0800 |
commit | 980231a345e5a5e9c3b4eb7f84896e6fccb429b5 (patch) | |
tree | a5e5aee0326a908351282fc3baec98a7d0b5e03f /src/inlines.c | |
parent | fccb9fb46cf18ebd12e7661b253ecb4eeed13b4a (diff) |
Added comment.
Diffstat (limited to 'src/inlines.c')
-rw-r--r-- | src/inlines.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |