cmark

My personal build of CMark ✏️

Commit
6e76c5095de575f9feee3976dc86181042673234
Parent
05e613a533cf11b9e29d47db7be6c5bc6d273bdc
Author
John MacFarlane <jgm@berkeley.edu>
Date

Added code comment.

Diffstat

1 file changed, 3 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified src/blocks.c 3 3 0
diff --git a/src/blocks.c b/src/blocks.c
@@ -559,6 +559,9 @@ static void chop_trailing_hashtags(cmark_chunk *ch) {
   }
 }
 
+// Find first nonspace character from current offset, setting
+// parser->first_nonspace, parser->first_nonspace_column,
+// parser->indent, and parser->blank. Does not advance parser->offset.
 static void S_find_first_nonspace(cmark_parser *parser, cmark_chunk *input) {
   char c;
   int chars_to_tab = TAB_STOP - (parser->column % TAB_STOP);