version 1.203, 2018/12/14 01:18:26 |
version 1.204, 2018/12/14 01:24:49 |
Line 579 mparse_parse_buffer(struct mparse *curp, struct buf bl |
|
Line 579 mparse_parse_buffer(struct mparse *curp, struct buf bl |
|
mandoc_msg_setinfilename(svfile); |
mandoc_msg_setinfilename(svfile); |
} |
} |
|
|
enum mandoclevel |
|
mparse_readmem(struct mparse *curp, void *buf, size_t len, |
|
const char *file) |
|
{ |
|
struct buf blk; |
|
|
|
blk.buf = buf; |
|
blk.sz = len; |
|
|
|
mparse_parse_buffer(curp, blk, file); |
|
return mandoc_msg_getrc(); |
|
} |
|
|
|
/* |
/* |
* Read the whole file into memory and call the parsers. |
* Read the whole file into memory and call the parsers. |
* Called recursively when an .so request is encountered. |
* Called recursively when an .so request is encountered. |