diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-08 14:51:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-08 14:51:04 +0000 |
commit | cf63fca8357771e9f99c05319bf7ae1d9325cbd8 (patch) | |
tree | 283184101587a0e648dd5fcc99c2e2c91519bf49 /mandoc_headers.3 | |
parent | 9ef0c733fd442e250894494f24d6a17d1db58500 (diff) | |
download | mandoc-cf63fca8357771e9f99c05319bf7ae1d9325cbd8.tar.gz mandoc-cf63fca8357771e9f99c05319bf7ae1d9325cbd8.tar.zst mandoc-cf63fca8357771e9f99c05319bf7ae1d9325cbd8.zip |
1. Eliminate struct eqn, instead use the existing members
of struct roff_node which is allocated for each equation anyway.
2. Do not keep a list of equation parsers, one parser is enough.
Minus fifty lines of code, no functional change.
Diffstat (limited to 'mandoc_headers.3')
-rw-r--r-- | mandoc_headers.3 | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/mandoc_headers.3 b/mandoc_headers.3 index dce6b945..674b9a57 100644 --- a/mandoc_headers.3 +++ b/mandoc_headers.3 @@ -1,4 +1,4 @@ -.Dd $Mdocdate: July 4 2017 $ +.Dd $Mdocdate: July 8 2017 $ .Dt MANDOC_HEADERS 3 .Os .Sh NAME @@ -101,7 +101,6 @@ Provides .Vt struct tbl_dat , .Vt struct tbl_span , .Vt struct eqn_box , -.Vt struct eqn , the function prototype typedef .Fn mandocmsg , the function @@ -267,8 +266,6 @@ from for function prototypes. Uses the types .Vt struct tbl_span -and -.Vt struct eqn from .Pa mandoc.h and @@ -292,8 +289,6 @@ because the latter two are needed by .Qq Pa roff.c . .Pp Uses the types -.Vt struct eqn -and .Vt struct tbl_span from .Pa mandoc.h , @@ -378,7 +373,7 @@ for for .Vt struct tbl_* and -.Vt struct eqn , +.Vt struct eqn_box , and .Qq Pa libmandoc.h for @@ -462,7 +457,7 @@ from Uses .Vt struct tbl_span and -.Vt struct eqn +.Vt struct eqn_box from .Pa mandoc.h and @@ -503,7 +498,7 @@ and many HTML formatting functions. Uses .Vt struct tbl_span and -.Vt struct eqn +.Vt struct eqn_box from .Pa mandoc.h and |