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 | e34c2321124c803bff9ccbde7eadf95994ead351 (patch) | |
tree | facdb887e73351772596311aeb667486c57e8d0a /mandoc.1 | |
parent | 67cfc20e20f4c603c852ddf5c88024ce0d8d628c (diff) | |
download | mandoc-e34c2321124c803bff9ccbde7eadf95994ead351.tar.gz mandoc-e34c2321124c803bff9ccbde7eadf95994ead351.tar.zst mandoc-e34c2321124c803bff9ccbde7eadf95994ead351.zip |
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.1')
-rw-r--r-- | mandoc.1 | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.139 2015/01/28 17:32:07 schwarze Exp $ +.\" $Id: mandoc.1,v 1.140 2015/01/28 21:11:53 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -1291,13 +1291,6 @@ Data provided for this cell is ignored, and nothing is printed in the cell. A table layout specification contains more than two consecutive vertical bars. A double bar is printed, all additional bars are discarded. .El -.Ss "Errors related to equations" -.Bl -inset -compact -.It "unexpected equation scope closure" -.It "equation scope open on exit" -.It "overlapping equation scopes" -.It "unexpected end of equation" -.El .Ss "Errors related to tables" .Bl -ohang .It Sy "non-alphabetic character in tbl options" |