OpenBSD/src xBNHBDE — usr.bin/mandoc read.c
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.
Version | Delta | File | |
---|---|---|---|
1.176 | +41 | -40 | usr.bin/mandoc/read.c |
+41 | -40 | 1 files |