version 1.50, 2013/12/24 19:11:46 |
version 1.51, 2014/03/08 15:50:41 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2013 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2013, 2014 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 |
Line 252 print_man(const struct man_node *n, int indent) |
|
Line 252 print_man(const struct man_node *n, int indent) |
|
} else { |
} else { |
for (i = 0; i < indent; i++) |
for (i = 0; i < indent; i++) |
putchar('\t'); |
putchar('\t'); |
printf("%s (%s) %d:%d\n", p, t, n->line, n->pos); |
printf("%s (%s) ", p, t); |
|
if (MAN_LINE & n->flags) |
|
putchar('*'); |
|
printf("%d:%d\n", n->line, n->pos); |
} |
} |
|
|
if (n->child) |
if (n->child) |