diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 21:00:24 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 21:00:24 -0800 |
commit | 64ed30ef85a6968509392224a6849907f554f174 (patch) | |
tree | c42fbdccce144f6d37ee9040ea4c53a44d579fd9 /src | |
parent | 92ace5f0d4ddf3f5f1d612bb0e5f0f3ade4b5adf (diff) |
Some astyle reformatting.
Diffstat (limited to 'src')
-rw-r--r-- | src/iterator.c | 16 | ||||
-rw-r--r-- | src/xml.c | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/iterator.c b/src/iterator.c index 7f90cc7..4daec2d 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -7,14 +7,14 @@ #include "iterator.h" static const int S_leaf_mask = - (1 << CMARK_NODE_HTML) | - (1 << CMARK_NODE_HRULE) | - (1 << CMARK_NODE_CODE_BLOCK) | - (1 << CMARK_NODE_TEXT) | - (1 << CMARK_NODE_SOFTBREAK) | - (1 << CMARK_NODE_LINEBREAK) | - (1 << CMARK_NODE_CODE) | - (1 << CMARK_NODE_INLINE_HTML); + (1 << CMARK_NODE_HTML) | + (1 << CMARK_NODE_HRULE) | + (1 << CMARK_NODE_CODE_BLOCK) | + (1 << CMARK_NODE_TEXT) | + (1 << CMARK_NODE_SOFTBREAK) | + (1 << CMARK_NODE_LINEBREAK) | + (1 << CMARK_NODE_CODE) | + (1 << CMARK_NODE_INLINE_HTML); cmark_iter* cmark_iter_new(cmark_node *root) @@ -98,7 +98,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, break; case CMARK_NODE_HEADER: cmark_strbuf_printf(xml, " level=\"%d\"", - node->as.header.level); + node->as.header.level); break; case CMARK_NODE_CODE_BLOCK: if (node->as.code.info.len > 0) { |