version 1.52, 2014/04/20 16:46:05 |
version 1.54, 2014/08/10 23:54:41 |
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
*/ |
*/ |
#ifdef HAVE_CONFIG_H |
|
#include "config.h" |
#include "config.h" |
#endif |
|
|
|
|
#include <sys/types.h> |
|
|
#include <assert.h> |
#include <assert.h> |
#include <limits.h> |
#include <limits.h> |
#include <stdio.h> |
#include <stdio.h> |
Line 160 print_mdoc(const struct mdoc_node *n, int indent) |
|
Line 160 print_mdoc(const struct mdoc_node *n, int indent) |
|
putchar(' '); |
putchar(' '); |
if (MDOC_LINE & n->flags) |
if (MDOC_LINE & n->flags) |
putchar('*'); |
putchar('*'); |
printf("%d:%d", n->line, n->pos); |
printf("%d:%d", n->line, n->pos + 1); |
if (n->lastline != n->line) |
if (n->lastline != n->line) |
printf("-%d", n->lastline); |
printf("-%d", n->lastline); |
putchar('\n'); |
putchar('\n'); |
Line 250 print_man(const struct man_node *n, int indent) |
|
Line 250 print_man(const struct man_node *n, int indent) |
|
printf("%s (%s) ", p, t); |
printf("%s (%s) ", p, t); |
if (MAN_LINE & n->flags) |
if (MAN_LINE & n->flags) |
putchar('*'); |
putchar('*'); |
printf("%d:%d\n", n->line, n->pos); |
printf("%d:%d\n", n->line, n->pos + 1); |
} |
} |
|
|
if (n->child) |
if (n->child) |
Line 292 print_box(const struct eqn_box *ep, int indent) |
|
Line 292 print_box(const struct eqn_box *ep, int indent) |
|
assert(t); |
assert(t); |
printf("%s(%d, %d, %d, %d, %d, \"%s\", \"%s\") %s\n", |
printf("%s(%d, %d, %d, %d, %d, \"%s\", \"%s\") %s\n", |
t, EQN_DEFSIZE == ep->size ? 0 : ep->size, |
t, EQN_DEFSIZE == ep->size ? 0 : ep->size, |
ep->pos, ep->font, ep->mark, ep->pile, |
ep->pos + 1, ep->font, ep->mark, ep->pile, |
ep->left ? ep->left : "", |
ep->left ? ep->left : "", |
ep->right ? ep->right : "", |
ep->right ? ep->right : "", |
ep->text ? ep->text : ""); |
ep->text ? ep->text : ""); |