Aligned stuff in down.c

This commit is contained in:
Alex Higgins 2015-08-28 08:33:41 -05:00
parent 150833ac5b
commit ab60143fac

View File

@ -136,30 +136,24 @@ u3_noun strong_to_noun(cmark_node * nod)
u3_noun link_to_noun(cmark_node * nod) u3_noun link_to_noun(cmark_node * nod)
{ {
return return u3nc(u3nt(c3__link,
u3nc( nod->as.link.url
u3nt( ? u3i_tape((c3_c *) nod->as.link.url)
c3__link, : u3_nul,
nod->as.link.url nod->as.link.title
? u3i_tape((c3_c *) nod->as.link.url) ? u3nc(u3_nul, u3i_tape((c3_c *) nod->as.link.title))
: u3_nul, : u3_nul),
nod->as.link.title list_elems_to_noun(nod));
? u3nc(u3_nul, u3i_tape((c3_c *) nod->as.link.title))
: u3_nul),
list_elems_to_noun(nod));
} }
u3_noun image_to_noun(cmark_node * nod) u3_noun image_to_noun(cmark_node * nod)
{ {
return return u3nc(u3nt(c3__blot,
u3nc( u3i_tape((c3_c *) nod->as.link.url),
u3nt( nod->as.link.title
c3__blot, ? u3nc(u3_nul, u3i_tape((c3_c *) nod->as.link.title))
u3i_tape((c3_c *) nod->as.link.url), : u3_nul),
nod->as.link.title list_elems_to_noun(nod));
? u3nc(u3_nul, u3i_tape((c3_c *) nod->as.link.title))
: u3_nul),
list_elems_to_noun(nod));
} }
u3_noun node_to_noun(cmark_node * nod) u3_noun node_to_noun(cmark_node * nod)