"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dumptree.c" between
discount-2.2.3a.tar.bz2 and discount-2.2.4.tar.bz2

About: Discount is an implementation of the "Markdown" markup language (written in C).

dumptree.c  (discount-2.2.3a.tar.bz2):dumptree.c  (discount-2.2.4.tar.bz2)
skipping to change at line 110 skipping to change at line 110
static char *Begin[] = { 0, "P", "center" }; static char *Begin[] = { 0, "P", "center" };
while ( pp ) { while ( pp ) {
if ( !pp->next ) if ( !pp->next )
changepfx(sp, '`'); changepfx(sp, '`');
printpfx(sp, f); printpfx(sp, f);
d = fprintf(f, "[%s", Pptype(pp->typ)); d = fprintf(f, "[%s", Pptype(pp->typ));
if ( pp->ident ) if ( pp->ident )
d += fprintf(f, " %s", pp->ident); d += fprintf(f, " %s", pp->ident);
#ifdef GITHUB_CHECKBOX
if ( pp->flags )
d += fprintf(f, " %x", pp->flags);
#endif
if ( pp->align > 1 ) if ( pp->align > 1 )
d += fprintf(f, ", <%s>", Begin[pp->align]); d += fprintf(f, ", <%s>", Begin[pp->align]);
for (count=0, p=pp->text; p; ++count, (p = p->next) ) for (count=0, p=pp->text; p; ++count, (p = p->next) )
; ;
if ( count ) if ( count )
d += fprintf(f, ", %d line%s", count, (count==1)?"":"s"); d += fprintf(f, ", %d line%s", count, (count==1)?"":"s");
d += fprintf(f, "]"); d += fprintf(f, "]");
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)