=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/tree.c,v retrieving revision 1.21 retrieving revision 1.22 diff -c -r1.21 -r1.22 *** src/usr.bin/mandoc/tree.c 2014/04/20 16:44:44 1.21 --- src/usr.bin/mandoc/tree.c 2014/07/02 07:10:17 1.22 *************** *** 1,4 **** ! /* $Id: tree.c,v 1.21 2014/04/20 16:44:44 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2011 Kristaps Dzonsons * Copyright (c) 2013, 2014 Ingo Schwarze --- 1,4 ---- ! /* $Id: tree.c,v 1.22 2014/07/02 07:10:17 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2011 Kristaps Dzonsons * Copyright (c) 2013, 2014 Ingo Schwarze *************** *** 156,162 **** putchar(' '); if (MDOC_LINE & n->flags) putchar('*'); ! printf("%d:%d", n->line, n->pos); if (n->lastline != n->line) printf("-%d", n->lastline); putchar('\n'); --- 156,162 ---- putchar(' '); if (MDOC_LINE & n->flags) putchar('*'); ! printf("%d:%d", n->line, n->pos + 1); if (n->lastline != n->line) printf("-%d", n->lastline); putchar('\n'); *************** *** 246,252 **** printf("%s (%s) ", p, t); if (MAN_LINE & n->flags) putchar('*'); ! printf("%d:%d\n", n->line, n->pos); } if (n->child) --- 246,252 ---- printf("%s (%s) ", p, t); if (MAN_LINE & n->flags) putchar('*'); ! printf("%d:%d\n", n->line, n->pos + 1); } if (n->child) *************** *** 288,294 **** assert(t); printf("%s(%d, %d, %d, %d, %d, \"%s\", \"%s\") %s\n", t, EQN_DEFSIZE == ep->size ? 0 : ep->size, ! ep->pos, ep->font, ep->mark, ep->pile, ep->left ? ep->left : "", ep->right ? ep->right : "", ep->text ? ep->text : ""); --- 288,294 ---- assert(t); printf("%s(%d, %d, %d, %d, %d, \"%s\", \"%s\") %s\n", t, EQN_DEFSIZE == ep->size ? 0 : ep->size, ! ep->pos + 1, ep->font, ep->mark, ep->pile, ep->left ? ep->left : "", ep->right ? ep->right : "", ep->text ? ep->text : "");