From 1faa52052624e7c03256df0c63c43f5d40ddb57a Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 2 Nov 2015 03:58:09 -0200 Subject: content-parser: added basic rst-like directives support this patch adds support to something similar to reStructuredText directives [1]. the directive loader isn't implemented yet. also, the current implementation is stricter and differs a lot from the reStructuredText spec. documentation pending. this patch also fixes a few old parser bugs. [1] http://docutils.sourceforge.net/docs/ref/rst/directives.html --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4a28b8b..4e79863 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,6 +26,7 @@ MAINTAINERCLEANFILES = \ noinst_HEADERS = \ src/content-parser.h \ src/datetime-parser.h \ + src/directives.h \ src/file.h \ src/error.h \ src/loader.h \ @@ -53,6 +54,7 @@ check_PROGRAMS = \ libblogc_la_SOURCES = \ src/content-parser.c \ src/datetime-parser.c \ + src/directives.c \ src/file.c \ src/error.c \ src/loader.c \ @@ -198,6 +200,7 @@ tests_check_content_parser_CFLAGS = \ tests_check_content_parser_LDFLAGS = \ -no-install \ + -Wl,--wrap=blogc_directive_loader \ $(NULL) tests_check_content_parser_LDADD = \ -- cgit v1.2.3-18-g5258