| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Almost mechanical diff to remove the "struct mparse *" argument | Ingo Schwarze | 2018-12-14 | 1 | -11/+1 |
| | | | | | | | | | from mandoc_msg(), where it is no longer used. While here, rename mandoc_vmsg() to mandoc_msg() and retire the old version: There is really no point in having another function merely to save "%s" in a few places. Minus 140 lines of code. | ||||
| * | Major cleanup; may imply minor changes in edge cases of error reporting. | Ingo Schwarze | 2018-12-14 | 1 | -0/+335 |
| 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. | |||||
