From e5a65e02bef6856e4ee0c2f928e3a41d4d2e18de Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 17 Mar 2019 12:48:11 -0700 Subject: Add CMARK_NODE__LAST_LINE_CHECKED flag. Use this to avoid unnecessary recursion in ends_with_blank_line. Closes #284. --- src/node.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/node.h') diff --git a/src/node.h b/src/node.h index 13901ba..2163230 100644 --- a/src/node.h +++ b/src/node.h @@ -49,6 +49,7 @@ typedef struct { enum cmark_node__internal_flags { CMARK_NODE__OPEN = (1 << 0), CMARK_NODE__LAST_LINE_BLANK = (1 << 1), + CMARK_NODE__LAST_LINE_CHECKED = (1 << 2), }; struct cmark_node { -- cgit v1.2.3