version 1.23, 2015/10/20 02:01:31 |
version 1.25, 2016/01/08 02:13:39 |
Line 113 pmandoc(struct mparse *mp, int fd, const char *fn, int |
|
Line 113 pmandoc(struct mparse *mp, int fd, const char *fn, int |
|
int line, col; |
int line, col; |
|
|
mparse_readfd(mp, fd, fn); |
mparse_readfd(mp, fd, fn); |
|
close(fd); |
mparse_result(mp, &man, NULL); |
mparse_result(mp, &man, NULL); |
line = 1; |
line = 1; |
col = 0; |
col = 0; |
Line 122 pmandoc(struct mparse *mp, int fd, const char *fn, int |
|
Line 123 pmandoc(struct mparse *mp, int fd, const char *fn, int |
|
if (man->macroset == MACROSET_MDOC) { |
if (man->macroset == MACROSET_MDOC) { |
mdoc_validate(man); |
mdoc_validate(man); |
pmdoc(man->first->child, &line, &col, list); |
pmdoc(man->first->child, &line, &col, list); |
} else |
} else { |
|
man_validate(man); |
pman(man->first->child, &line, &col, list); |
pman(man->first->child, &line, &col, list); |
|
} |
|
|
if ( ! list) |
if ( ! list) |
putchar('\n'); |
putchar('\n'); |