version 1.40, 2009/01/12 12:52:21 |
version 1.41, 2009/01/12 16:39:57 |
Line 238 print_node(const struct mdoc_node *n, int indent) |
|
Line 238 print_node(const struct mdoc_node *n, int indent) |
|
|
|
for (i = 0; i < (int)argc; i++) { |
for (i = 0; i < (int)argc; i++) { |
(void)printf(" -%s", mdoc_argnames[argv[i].arg]); |
(void)printf(" -%s", mdoc_argnames[argv[i].arg]); |
|
if (j > 0) |
|
(void)printf(" ["); |
for (j = 0; j < (int)argv[i].sz; j++) |
for (j = 0; j < (int)argv[i].sz; j++) |
(void)printf(" \"%s\"", argv[i].value[j]); |
(void)printf(" [%s]", argv[i].value[j]); |
|
if (j > 0) |
|
(void)printf(" ]"); |
} |
} |
|
|
for (i = 0; i < (int)sz; i++) |
for (i = 0; i < (int)sz; i++) |
(void)printf(" \"%s\"", params[i]); |
(void)printf(" [%s]", params[i]); |
|
|
(void)printf(" %d:%d\n", n->line, n->pos); |
(void)printf(" %d:%d\n", n->line, n->pos); |
|
|