aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f989f62..65e45ee 100644
--- a/src/main.c
+++ b/src/main.c
@@ -12,10 +12,16 @@
#include <stdio.h>
+#include "template-grammar.h"
+
int
main(int argc, char **argv)
{
+ b_slist_t *t = blogc_template_parse(
+ "<html>{{ BOLA }}</html>\n"
+ "{% block single_source %}\n");
+ printf("%s\n", (char*) ((blogc_template_stmt_t*)t->next->next->next->data)->value);
printf("Hello, World!\n");
return 0;
}