summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-17 12:48:11 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-17 12:48:11 -0700
commite5a65e02bef6856e4ee0c2f928e3a41d4d2e18de (patch)
tree3edac3e487743f151f33a91d7d14d5eb7f3c7360 /src/node.h
parentb4138c5b9b284547f56d5bc1a3a77f1ab18acda0 (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.h1
1 files changed, 1 insertions, 0 deletions
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 {