CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2018/12/13 19:15:10
Modified files: usr.bin/mandoc : read.c Log message: Fold mparse_parse_buffer() into mparse_readfd(), making the code considerably more readable. This is possible now that i finally deleted mparse_readmem() from mandoc portable - an unused function that never existed in OpenBSD. This cleanup already made me find a minor bug: after a recursive parse, restoring the line number of the parent file was forgotten. This is fixed now.