diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-12 23:00:51 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-12 23:20:36 -0800 |
commit | b598b52a4acdc2332be3d34e30237d1b93b7dd03 (patch) | |
tree | 090d34e6a07d1cf6753cb297dd3704a14403660b /src/cmark.h | |
parent | 45f8e0a6dbafee22b5e6f5c94eca01b92b0ba0aa (diff) |
Removed CMARK_NODE_REFERENCE_DEF from API.
There's no reason to store these empty nodes in the API.
The references have already been resolved.
Diffstat (limited to 'src/cmark.h')
-rw-r--r-- | src/cmark.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmark.h b/src/cmark.h index d77749c..12d0c01 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -47,10 +47,9 @@ typedef enum { CMARK_NODE_PARAGRAPH, CMARK_NODE_HEADER, CMARK_NODE_HRULE, - CMARK_NODE_REFERENCE_DEF, CMARK_NODE_FIRST_BLOCK = CMARK_NODE_DOCUMENT, - CMARK_NODE_LAST_BLOCK = CMARK_NODE_REFERENCE_DEF, + CMARK_NODE_LAST_BLOCK = CMARK_NODE_HRULE, /* Inline */ CMARK_NODE_TEXT, @@ -329,7 +328,6 @@ int cmark_walk(cmark_node *root, cmark_node_handler handler, void *state); #define NODE_PARAGRAPH CMARK_NODE_PARAGRAPH #define NODE_HEADER CMARK_NODE_HEADER #define NODE_HRULE CMARK_NODE_HRULE - #define NODE_REFERENCE_DEF CMARK_NODE_REFERENCE_DEF #define NODE_TEXT CMARK_NODE_TEXT #define NODE_SOFTBREAK CMARK_NODE_SOFTBREAK #define NODE_LINEBREAK CMARK_NODE_LINEBREAK |