From b88cdf4fd29bb74022ccf752ace910244767f977 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Thu, 23 Jun 2016 00:54:01 +0200 Subject: content-parser: added 'next' to node structure --- src/content-parser.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-18-g5258