summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-11-17 21:04:42 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-17 21:43:46 -0800
commit463d64219b2f47c9bfb50d05a7f4d2b2a4293a97 (patch)
treeee3a2f20b4562a711dae79c9b95116cb0c28bb43 /src/node.h
parent24643bde1d2c79cc512242379868efadf653c1da (diff)
Switch cmark_node_inl over to cmark_node
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/node.h b/src/node.h
index 27c815d..64a9fce 100644
--- a/src/node.h
+++ b/src/node.h
@@ -7,6 +7,7 @@ extern "C" {
#include "cmark.h"
#include "buffer.h"
+#include "chunk.h"
typedef enum {
// Block
@@ -86,12 +87,10 @@ struct cmark_node {
bool open;
bool last_line_blank;
- // Temp
- cmark_node_inl *inline_content;
-
cmark_strbuf string_content;
union {
+ cmark_chunk literal;
cmark_list list;
cmark_fenced_code code;
cmark_header header;