From d2babc8715ffe76bc9cc3e6c8081d89087892a6e Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Thu, 22 Feb 2018 00:55:21 +0100 Subject: blogc: template: fixed comment --- src/blogc/template-parser.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/blogc/template-parser.h b/src/blogc/template-parser.h index 948ec9b..d08ccd9 100644 --- a/src/blogc/template-parser.h +++ b/src/blogc/template-parser.h @@ -18,7 +18,7 @@ * template parsing. renderer does not need to care about it, for the sake of * simplicity. * - * another note: technically this is not an AST, because there are no childs. + * another note: technically this is not an AST, because it is not a tree. duh! */ typedef enum { BLOGC_TEMPLATE_NODE_IFDEF = 1, @@ -47,6 +47,8 @@ typedef struct { // 2 slots to store node data. char *data[2]; + + bc_slist_t *childs; } blogc_template_node_t; bc_slist_t* blogc_template_parse(const char *src, size_t src_len, -- cgit v1.2.3-18-g5258