summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-28 21:11:53 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-28 21:11:53 +0000
commit38def923d97b88a054e0bce2b8822bc014288458 (patch)
tree582cb385e1c346015f355bf7124ff9c95a5e9723 /mandoc.h
parentd04af2267985bcac279f3ffad1ce6ee9fec2d44f (diff)
downloadmandoc-38def923d97b88a054e0bce2b8822bc014288458.tar.gz
Clean up eqn(7) error handling:
* When "define" fails, do not drop the whole equation. * Free memory after "undef". * Use standard mandoc error types instead of rolling our own. * Delete obfuscating EQN_MSG() macro. * Add function prototypes while here.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/mandoc.h b/mandoc.h
index 21b2c090..bf0a1ad1 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -134,12 +134,6 @@ enum mandocerr {
MANDOCERR_ERROR, /* ===== start of errors ===== */
- /* related to equations */
- MANDOCERR_EQNNSCOPE, /* unexpected equation scope closure*/
- MANDOCERR_EQNSCOPE, /* equation scope open on exit */
- MANDOCERR_EQNBADSCOPE, /* overlapping equation scopes */
- MANDOCERR_EQNEOF, /* unexpected end of equation */
-
/* related to tables */
MANDOCERR_TBLOPT_ALPHA, /* non-alphabetic character in tbl options */
MANDOCERR_TBLOPT_BAD, /* skipping unknown tbl option: option */