diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-28 21:11:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-28 21:11:53 +0000 |
commit | 38def923d97b88a054e0bce2b8822bc014288458 (patch) | |
tree | 582cb385e1c346015f355bf7124ff9c95a5e9723 /read.c | |
parent | d04af2267985bcac279f3ffad1ce6ee9fec2d44f (diff) | |
download | mandoc-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.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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", |