aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/template-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc/template-parser.h')
-rw-r--r--src/blogc/template-parser.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/blogc/template-parser.h b/src/blogc/template-parser.h
index 6183016..d21d6d8 100644
--- a/src/blogc/template-parser.h
+++ b/src/blogc/template-parser.h
@@ -10,8 +10,7 @@
#define _TEMPLATE_PARSER_H
#include <stddef.h>
-#include "../common/error.h"
-#include "../common/utils.h"
+#include <squareball.h>
/*
* note: whitespace cleaners are NOT added to AST. we fix strings right during
@@ -48,11 +47,11 @@ typedef struct {
// 2 slots to store node data.
char *data[2];
- bc_slist_t *childs;
+ sb_slist_t *childs;
} blogc_template_node_t;
-bc_slist_t* blogc_template_parse(const char *src, size_t src_len,
- bc_error_t **err);
-void blogc_template_free_ast(bc_slist_t *ast);
+sb_slist_t* blogc_template_parse(const char *src, size_t src_len,
+ sb_error_t **err);
+void blogc_template_free_ast(sb_slist_t *ast);
#endif /* _TEMPLATE_PARSER_H */