summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-03 11:27:32 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-03 11:27:32 +0000
commitd5976ecf949530abbe4672ca2ab66a66cc00ddec (patch)
tree201f54e1c9c2a6293d5e4dd1300040a82f7104a7 /man_term.c
parentacbea5cc811c026741e14c43e082ea541d143fba (diff)
downloadmandoc-d5976ecf949530abbe4672ca2ab66a66cc00ddec.tar.gz
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.
Diffstat (limited to 'man_term.c')
0 files changed, 0 insertions, 0 deletions