diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-03-17 12:48:11 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-03-17 12:48:11 -0700 |
commit | e5a65e02bef6856e4ee0c2f928e3a41d4d2e18de (patch) | |
tree | 3edac3e487743f151f33a91d7d14d5eb7f3c7360 /src/node.h | |
parent | b4138c5b9b284547f56d5bc1a3a77f1ab18acda0 (diff) |
Add CMARK_NODE__LAST_LINE_CHECKED flag.
Use this to avoid unnecessary recursion in ends_with_blank_line.
Closes #284.
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 { |