diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-05 00:14:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-05 00:14:13 +0000 |
commit | 4514bbe8133f9b6a03f35d9c4321d64e48e6cf33 (patch) | |
tree | 0e6b28410e8f7299f337233500090d8976d57375 /tree.c | |
parent | 9428c0388cfeb9544f5ffec7200f5fbee7da4727 (diff) | |
download | mandoc-4514bbe8133f9b6a03f35d9c4321d64e48e6cf33.tar.gz |
Simplify by deleting the "lastline" member of struct mdoc_node.
Minus one struct member, minus 17 lines of code, no functional change.
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -162,10 +162,7 @@ print_mdoc(const struct mdoc_node *n, int indent) 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'); + printf("%d:%d\n", n->line, n->pos + 1); } if (n->eqn) |