summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-23 23:08:50 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-23 23:09:10 -0700
commitc71830e3db5047322f5e8601f9ec7154dbe1dd30 (patch)
tree110a8b981307ae05ef23c764bf2ed168482968a0 /src
parent550313976fc187d0a6c728aff472a93068f7fc61 (diff)
Removed positon from delimiter struct.
It is no longer needed; only the brackets struct needs it. Thanks to @robinst.
Diffstat (limited to 'src')
-rw-r--r--src/inlines.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 6f0adef..41c7140 100644
--- 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;
}