summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-25 14:51:54 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-25 14:51:54 -0800
commita5a55657ad8c1da1e17eda8e0a321612e61c311e (patch)
treeeeffae63dff482617227c435e63bff63f2611fb7 /src/cmark.h
parente31e2d2fe1d28223eee9f406b82d6f48552f5be7 (diff)
Rename NODE_STRING -> NODE_TEXT.
In JS, use 'Text' instead of 'Str'. In spec, use "plain textual content" instead of "strings."
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmark.h b/src/cmark.h
index 6e58f0b..d778a53 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -27,7 +27,7 @@ typedef enum {
CMARK_NODE_LAST_BLOCK = CMARK_NODE_REFERENCE_DEF,
// Inline
- CMARK_NODE_STRING,
+ CMARK_NODE_TEXT,
CMARK_NODE_SOFTBREAK,
CMARK_NODE_LINEBREAK,
CMARK_NODE_INLINE_CODE,
@@ -37,7 +37,7 @@ typedef enum {
CMARK_NODE_LINK,
CMARK_NODE_IMAGE,
- CMARK_NODE_FIRST_INLINE = CMARK_NODE_STRING,
+ CMARK_NODE_FIRST_INLINE = CMARK_NODE_TEXT,
CMARK_NODE_LAST_INLINE = CMARK_NODE_IMAGE,
} cmark_node_type;
@@ -204,7 +204,7 @@ char *cmark_markdown_to_html(const char *text, int len);
#define NODE_HEADER CMARK_NODE_HEADER
#define NODE_HRULE CMARK_NODE_HRULE
#define NODE_REFERENCE_DEF CMARK_NODE_REFERENCE_DEF
- #define NODE_STRING CMARK_NODE_STRING
+ #define NODE_TEXT CMARK_NODE_TEXT
#define NODE_SOFTBREAK CMARK_NODE_SOFTBREAK
#define NODE_LINEBREAK CMARK_NODE_LINEBREAK
#define NODE_INLINE_CODE CMARK_NODE_INLINE_CODE