"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tree.c" between
mdocml-1.14.1rc1.tar.gz and mdocml-1.14.1rc2.tar.gz

About: mdocml is a suite of tools compiling "-mdoc", the roff macro package of choice for BSD manual pages, and "-man", the predominant historical package for UNIX manuals. Hint: The installed binary name is "mandoc". Release candidate.

tree.c  (mdocml-1.14.1rc1):tree.c  (mdocml-1.14.1rc2)
/* $Id: tree.c,v 1.72 2017/01/12 17:29:33 schwarze Exp $ */ /* $Id: tree.c,v 1.73 2017/02/10 15:45:28 schwarze Exp $ */
/* /*
* Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
* *
* Permission to use, copy, modify, and distribute this software for any * Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies. * copyright notice and this permission notice appear in all copies.
* *
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
skipping to change at line 194 skipping to change at line 194
putchar(' '); putchar(' ');
if (NODE_DELIMO & n->flags) if (NODE_DELIMO & n->flags)
putchar('('); putchar('(');
if (NODE_LINE & n->flags) if (NODE_LINE & n->flags)
putchar('*'); putchar('*');
printf("%d:%d", n->line, n->pos + 1); printf("%d:%d", n->line, n->pos + 1);
if (NODE_DELIMC & n->flags) if (NODE_DELIMC & n->flags)
putchar(')'); putchar(')');
if (NODE_EOS & n->flags) if (NODE_EOS & n->flags)
putchar('.'); putchar('.');
if (NODE_BROKEN & n->flags)
printf(" BROKEN");
if (NODE_NOSRC & n->flags) if (NODE_NOSRC & n->flags)
printf(" NOSRC"); printf(" NOSRC");
if (NODE_NOPRT & n->flags) if (NODE_NOPRT & n->flags)
printf(" NOPRT"); printf(" NOPRT");
putchar('\n'); putchar('\n');
} }
if (n->eqn) if (n->eqn)
print_box(n->eqn->root->first, indent + 4); print_box(n->eqn->root->first, indent + 4);
if (n->child) if (n->child)
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS