version 1.24, 2015/10/22 22:06:43 |
version 1.26, 2016/01/08 02:53:13 |
Line 87 main(int argc, char *argv[]) |
|
Line 87 main(int argc, char *argv[]) |
|
|
|
for (i = 0; i < argc; i++) { |
for (i = 0; i < argc; i++) { |
mparse_reset(mp); |
mparse_reset(mp); |
if (mparse_open(mp, &fd, argv[i]) != MANDOCLEVEL_OK) { |
if ((fd = mparse_open(mp, argv[i])) == -1) { |
perror(argv[i]); |
perror(argv[i]); |
continue; |
continue; |
} |
} |
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; |