diff options
author | 2011-01-03 11:27:32 +0000 | |
---|---|---|
committer | 2011-01-03 11:27:32 +0000 | |
commit | 1a43dd98e40e2bf465682b76c28bd1ea2fe90ac5 (patch) | |
tree | a1ce2cbd09419ea936477d7b7ac231d7e06bb2e4 /regress/regress.sh | |
parent | 298f818bf95cddb04543ee3777a239b4d7a7fe6d (diff) | |
download | mandoc-1a43dd98e40e2bf465682b76c28bd1ea2fe90ac5.tar.gz mandoc-1a43dd98e40e2bf465682b76c28bd1ea2fe90ac5.tar.zst mandoc-1a43dd98e40e2bf465682b76c28bd1ea2fe90ac5.zip |
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 'regress/regress.sh')
0 files changed, 0 insertions, 0 deletions