Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: VERSION_1_10_9
Revision 1.177 / (download) - annotate - [select for diffs], Mon Jan 3 11:27:33 2011 UTC (13 years, 8 months ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_10_9
Changes since 1.176: +9 -10 lines
Diff to previous 1.176 (unified)
Clarified the role of MDOC_HALT in libmdoc functions by having accessor functions assert() if they're called after MDOC_HALT is set. This makes more sense than returning 0 because this return value is used for parse errors, not programme-flow errors, and it's inconsistent to use the same value for both. Plus, prior to this, I'd return 0 without printing an error message, which would cause failure to go unreported to the operator.