From cf63fca8357771e9f99c05319bf7ae1d9325cbd8 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 8 Jul 2017 14:51:04 +0000 Subject: 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. --- mandoc_headers.3 | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'mandoc_headers.3') 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 -- cgit v1.2.3-56-ge451