diff options
author | John MacFarlane <[email protected]> | 2014-11-16 17:49:56 -0800 |
---|---|---|
committer | John MacFarlane <[email protected]> | 2014-11-16 17:49:56 -0800 |
commit | 9ab35064d99ebe70e80dba88fa75f22f79751cb5 (patch) | |
tree | 80365e15496df8ee8f36a73f1ab039cb4151f551 /src/print.c | |
parent | 025140cf71e90cd7d54144c82ba8328493692bb6 (diff) |
Export enums for inline, block types, list and list delim types.
Also switched from `bullet`, `ordered`, `parens`, `period` to
`CMARK_BULLET_LIST`, `CMARK_ORDERED_LIST`, `CMARK_PAREN_DELIM`,
`CMARK_PERIOD_DELIM`.
Diffstat (limited to 'src/print.c')
-rw-r--r-- | src/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/print.c b/src/print.c index ce387b4..28a173e 100644 --- a/src/print.c +++ b/src/print.c @@ -118,11 +118,11 @@ static void print_blocks(node_block* b, int indent) break; case BLOCK_LIST: data = &(b->as.list); - if (data->list_type == ordered) { + if (data->list_type == CMARK_ORDERED_LIST) { printf("list (type=ordered tight=%s start=%d delim=%s)\n", (data->tight ? "true" : "false"), data->start, - (data->delimiter == parens ? "parens" : "period")); + (data->delimiter == CMARK_PAREN_DELIM ? "parens" : "period")); } else { printf("list (type=bullet tight=%s bullet_char=%c)\n", (data->tight ? "true" : "false"), |