summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/blocks.c2
-rw-r--r--src/cmark.c1
-rw-r--r--src/html/html.c1
-rw-r--r--src/inlines.c2
-rw-r--r--src/parser.h (renamed from src/ast.h)4
-rw-r--r--src/print.c1
-rw-r--r--src/references.c2
-rw-r--r--src/references.h1
9 files changed, 5 insertions, 11 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d4d7d19..931c5df 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8)
set(LIBRARY "libcmark")
set(HEADERS
cmark.h
- ast.h
+ parser.h
buffer.h
node.h
chunk.h
diff --git a/src/blocks.c b/src/blocks.c
index 04752cd..cf5e08c 100644
--- a/src/blocks.c
+++ b/src/blocks.c
@@ -4,7 +4,7 @@
#include <ctype.h>
#include "config.h"
-#include "ast.h"
+#include "parser.h"
#include "cmark.h"
#include "node.h"
#include "references.h"
diff --git a/src/cmark.c b/src/cmark.c
index f779e80..d114d1e 100644
--- a/src/cmark.c
+++ b/src/cmark.c
@@ -6,7 +6,6 @@
#include "html/houdini.h"
#include "cmark.h"
#include "buffer.h"
-#include "ast.h"
unsigned char *cmark_markdown_to_html(unsigned char *text, int len)
{
diff --git a/src/html/html.c b/src/html/html.c
index 8e1c65a..1266328 100644
--- a/src/html/html.c
+++ b/src/html/html.c
@@ -7,7 +7,6 @@
#include "cmark.h"
#include "node.h"
#include "buffer.h"
-#include "ast.h"
#include "debug.h"
#include "html/houdini.h"
diff --git a/src/inlines.c b/src/inlines.c
index 2bfdfd5..078afd4 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -5,7 +5,7 @@
#include "config.h"
#include "node.h"
-#include "ast.h"
+#include "parser.h"
#include "references.h"
#include "cmark.h"
#include "html/houdini.h"
diff --git a/src/ast.h b/src/parser.h
index c1636de..4bbea09 100644
--- a/src/ast.h
+++ b/src/parser.h
@@ -2,11 +2,9 @@
#define CMARK_AST_H
#include <stdio.h>
-#include "config.h"
#include "node.h"
+#include "references.h"
#include "buffer.h"
-#include "chunk.h"
-#include "cmark.h"
#ifdef __cplusplus
extern "C" {
diff --git a/src/print.c b/src/print.c
index 3c85240..98ae0a6 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1,7 +1,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include "ast.h"
#include "cmark.h"
#include "node.h"
#include "debug.h"
diff --git a/src/references.c b/src/references.c
index fb0ac17..1738de1 100644
--- a/src/references.c
+++ b/src/references.c
@@ -1,6 +1,6 @@
#include "cmark.h"
#include "utf8.h"
-#include "ast.h"
+#include "parser.h"
#include "references.h"
#include "inlines.h"
#include "chunk.h"
diff --git a/src/references.h b/src/references.h
index e3824e7..572178d 100644
--- a/src/references.h
+++ b/src/references.h
@@ -2,7 +2,6 @@
#define CMARK_REFERENCES_H
#include "chunk.h"
-#include "ast.h"
#ifdef __cplusplus
extern "C" {