From 9253c0eab573e5ca0d37e4b1db77d3b0bfcf3be6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 28 Oct 2014 22:57:01 -0700 Subject: Changed EMPHASIS_STACK_LIMIT -> STACK_LIMIT. We'll also use it in parsing bracketed link labels. --- src/inlines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inlines.c') diff --git a/src/inlines.c b/src/inlines.c index d282170..26eb02a 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -393,7 +393,7 @@ static node_inl* handle_strong_emph(subject* subj, unsigned char c, node_inl **l cannotClose: inl_text = make_str(chunk_dup(&subj->input, subj->pos - numdelims, numdelims)); - if (can_open && subj->emphasis_nestlevel < EMPHASIS_STACK_LIMIT) + if (can_open && subj->emphasis_nestlevel < STACK_LIMIT) { istack = (inline_stack*)malloc(sizeof(inline_stack)); if (istack == NULL) { -- cgit v1.2.3