version 1.47, 2011/09/18 14:14:15 |
version 1.48, 2013/05/18 17:08:43 |
Line 58 print_mdoc(const struct mdoc_node *n, int indent) |
|
Line 58 print_mdoc(const struct mdoc_node *n, int indent) |
|
{ |
{ |
const char *p, *t; |
const char *p, *t; |
int i, j; |
int i, j; |
size_t argc, sz; |
size_t argc; |
char **params; |
|
struct mdoc_argv *argv; |
struct mdoc_argv *argv; |
|
|
argv = NULL; |
argv = NULL; |
argc = sz = 0; |
argc = 0; |
params = NULL; |
|
t = p = NULL; |
t = p = NULL; |
|
|
switch (n->type) { |
switch (n->type) { |
Line 162 print_mdoc(const struct mdoc_node *n, int indent) |
|
Line 160 print_mdoc(const struct mdoc_node *n, int indent) |
|
printf(" ]"); |
printf(" ]"); |
} |
} |
|
|
for (i = 0; i < (int)sz; i++) |
|
printf(" [%s]", params[i]); |
|
|
|
printf(" %d:%d\n", n->line, n->pos); |
printf(" %d:%d\n", n->line, n->pos); |
} |
} |
|
|