Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: VERSION_1_12_0
Revision 1.24 / (download) - annotate - [selected], Sun Mar 20 16:02:05 2011 UTC (13 years, 6 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_12_1,
VERSION_1_12_0,
VERSION_1_11_7,
VERSION_1_11_6,
VERSION_1_11_5,
VERSION_1_11_4,
VERSION_1_11_3,
VERSION_1_11_2,
VERSION_1_11_1
Changes since 1.23: +8 -5 lines
Diff to previous 1.23 (unified)
Consolidate messages. Have all parse-time messages (in libmdoc, libroff, etc., etc.) route into mandoc_msg() and mandoc_vmsg(), for the time being in libmandoc.h. This requires struct mparse to be passed into the allocation routines instead of mandocmsg and a void pointer. Then, move some of the functionality of the old mmsg() into read.c's mparse_mmsg() (check against wlevel and setting of file_status) and use main.c's mmsg() as simply a printing tool.