From af1a16ee46c535e7e97fe26fc4c6c05844de41e2 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 12 Jun 2010 11:21:44 +0000 Subject: Cache all of `Bd's resolved arguments into mdoc_bd, which is stashed in the "data" union in mdoc_node. Allows me to remove some ugly loops in the front-end and duplicate tests in mdoc_action.c. Add a regression test to make sure we're not doing anything bad (more to come). --- regress/mdoc/Bd/bd0.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 regress/mdoc/Bd/bd0.in (limited to 'regress') diff --git a/regress/mdoc/Bd/bd0.in b/regress/mdoc/Bd/bd0.in new file mode 100644 index 00000000..5d5c759e --- /dev/null +++ b/regress/mdoc/Bd/bd0.in @@ -0,0 +1,28 @@ +.Dd $Mdocdate: June 12 2010 $ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh DESCRIPTION +1 +.Em who are you? +.Bd -ragged +a b +c d +.Ed +2 +.Bd -unfilled +a b +c d +.Ed +3 +.Bd -filled +a b +c d +.Ed +4 +.Bd -literal +a b +c d +.Ed -- cgit v1.2.3-56-ge451