summaryrefslogtreecommitdiffstats
path: root/read.c
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 /read.c
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 'read.c')
-rw-r--r--read.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/read.c b/read.c
index 0c068b9f..dcf9202b 100644
--- a/read.c
+++ b/read.c
@@ -178,12 +178,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"generic error",
- /* related to equations */
- "unexpected equation scope closure",
- "equation scope open on exit",
- "overlapping equation scopes",
- "unexpected end of equation",
-
/* related to tables */
"non-alphabetic character in tbl options",
"skipping unknown tbl option",