cmark

My personal build of CMark ✏️

Commit
c71830e3db5047322f5e8601f9ec7154dbe1dd30
Parent
550313976fc187d0a6c728aff472a93068f7fc61
Author
John MacFarlane <jgm@berkeley.edu>
Date

Removed positon from delimiter struct.

It is no longer needed; only the brackets struct needs it. Thanks to @robinst.

Diffstat

1 file changed, 0 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified src/inlines.c 2 0 2
diff --git a/src/inlines.c b/src/inlines.c
@@ -34,7 +34,6 @@ typedef struct delimiter {
   struct delimiter *previous;
   struct delimiter *next;
   cmark_node *inl_text;
-  bufsize_t position;
   unsigned char delim_char;
   bool can_open;
   bool can_close;
@@ -375,7 +374,6 @@ static void push_delimiter(subject *subj, unsigned char c, bool can_open,
   if (delim->previous != NULL) {
     delim->previous->next = delim;
   }
-  delim->position = subj->pos;
   subj->last_delim = delim;
 }