aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-06-23 00:54:01 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-07-16 01:58:49 +0200
commitb88cdf4fd29bb74022ccf752ace910244767f977 (patch)
tree8bfb2dd6c476a898613bd830719b9c313d563bed /src
parent5ce910e4883f44be79055d0bf71f7703097f4026 (diff)
downloadblogc-b88cdf4fd29bb74022ccf752ace910244767f977.tar.gz
blogc-b88cdf4fd29bb74022ccf752ace910244767f977.tar.bz2
blogc-b88cdf4fd29bb74022ccf752ace910244767f977.zip
content-parser: added 'next' to node structure
Diffstat (limited to 'src')
-rw-r--r--src/content-parser.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/content-parser.h b/src/content-parser.h
index a0e403c..c1eaf2c 100644
--- a/src/content-parser.h
+++ b/src/content-parser.h
@@ -46,10 +46,9 @@ typedef struct _blogc_content_node_t {
blogc_content_block_type_t block_type;
blogc_content_inline_type_t inline_type;
} type;
- union {
- struct _blogc_content_node_t *block;
- char *content;
- } child;
+ char *content;
+ struct _blogc_content_node_t *child;
+ struct _blogc_content_node_t *next;
sb_trie_t *parameters;
} blogc_content_node_t;