summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-16 16:32:43 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-16 16:32:43 -0800
commit5afeed7e21743752e5bcb49337e1c22d9a6f75c1 (patch)
tree24c6f979b67322f203dfdc155adb7224b02dc930
parent4e587e8be5300d80e23ffeec5b11ba3eedf61276 (diff)
Removed CMARK_CODE_INDENT, CODE_INDENT from public header.
Now it's in blocks.c, the only module that uses it.
-rw-r--r--src/ast.h2
-rw-r--r--src/blocks.c1
-rw-r--r--src/cmark.h2
3 files changed, 1 insertions, 4 deletions
diff --git a/src/ast.h b/src/ast.h
index 0640f88..53620c8 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -11,8 +11,6 @@
extern "C" {
#endif
-#define CMARK_VERSION "0.1"
-#define CMARK_CODE_INDENT 4
#define REFMAP_SIZE 16
#define CMARK_MAX_LINK_LABEL_LENGTH 1000
diff --git a/src/blocks.c b/src/blocks.c
index f95e94e..22545b5 100644
--- a/src/blocks.c
+++ b/src/blocks.c
@@ -14,6 +14,7 @@
#include "buffer.h"
#include "debug.h"
+#define CODE_INDENT 4
#define peek_at(i, n) (i)->data[n]
static node_block* make_block(cmark_block_tag tag, int start_line, int start_column)
diff --git a/src/cmark.h b/src/cmark.h
index f87044a..b214aed 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -9,7 +9,6 @@ extern "C" {
#endif
#define CMARK_VERSION "0.1"
-#define CMARK_CODE_INDENT 4
#define CMARK_MAX_LINK_LABEL_LENGTH 1000
typedef struct cmark_node_inl cmark_node_inl;
@@ -54,7 +53,6 @@ void cmark_free_inlines(cmark_node_inl* e);
#ifndef CMARK_NO_SHORT_NAMES
#define VERSION CMARK_VERSION
- #define CODE_INDENT CMARK_CODE_INDENT
#define MAX_LINK_LABEL_LENGTH CMARK_MAX_LINK_LABEL_LENGTH
#define node_inl cmark_node_inl
#define INL_STRING CMARK_INL_STRING