summaryrefslogtreecommitdiff
path: root/src/cmark.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-08 15:15:20 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-09 13:21:37 -0800
commit13da682b01067428e30b707b7cf64ef3a122984c (patch)
tree93e2cef69ea8c1f7eea6bc441b0245e7c3022168 /src/cmark.h
parentd352e22ff937548fb02f79043f47d2143050c63e (diff)
Added MAX_LINK_LABEL_LENGTH to cmark.h.
Use in link label parsing and reference lookup.
Diffstat (limited to 'src/cmark.h')
-rw-r--r--src/cmark.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmark.h b/src/cmark.h
index ff2f9a2..a135fa9 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -10,6 +10,8 @@
#define VERSION "0.1"
#define CODE_INDENT 4
+#define MAX_LINK_LABEL_LENGTH 1000
+
struct node_inl {
enum {
INL_STRING,