OpenBSD/src 0udWo8k — usr.bin/mandoc mandoc_msg.c read.c
Major cleanup; may imply minor changes in edge cases of error reporting. Finally, drop support for the run-time configurable mandocmsg() callback. It was over-engineered from the start, never used for anything in a decade, and repeatedly caused maintenance headaches. Consolidate reporting infrastructure into two files, mandoc.h and mandoc_msg.c, mopping up the bits and pieces that were scattered around main.c, read.c, mandoc_parse.h, libmandoc.h, the prototypes of four parsing-related functions, and both parser structs.
Version | Delta | File | |
---|---|---|---|
1.1 | +335 | -0 | usr.bin/mandoc/mandoc_msg.c |
1.175 | +10 | -298 | usr.bin/mandoc/read.c |
1.215 | +38 | -74 | usr.bin/mandoc/main.c |
1.201 | +12 | -4 | usr.bin/mandoc/mandoc.h |
1.2 | +3 | -7 | usr.bin/mandoc/mandoc_parse.h |
1.113 | +4 | -4 | usr.bin/mandoc/Makefile |
1.60 | +1 | -6 | usr.bin/mandoc/libmandoc.h |
1.210 | +2 | -3 | usr.bin/mandoc/mandocdb.c |
1.13 | +2 | -2 | usr.bin/mandoc/roff_validate.c |
1.101 | +2 | -2 | usr.bin/mandoc/cgi.c |
1.16 | +2 | -2 | usr.bin/mandoc/roff_term.c |
1.13 | +3 | -1 | usr.bin/mandoc/st.c |
1.34 | +2 | -1 | usr.bin/mandoc/tbl_layout.c |
1.96 | +2 | -1 | usr.bin/mandoc/man_macro.c |
1.111 | +2 | -1 | usr.bin/mandoc/man_validate.c |
1.37 | +2 | -1 | usr.bin/mandoc/tbl_data.c |
1.11 | +2 | -1 | usr.bin/mandoc/mdoc_state.c |
1.13 | +2 | -1 | usr.bin/mandoc/msec.c |
1.47 | +2 | -1 | usr.bin/mandoc/chars.c |
+428 | -410 | 19 files |