From 8c8298198d4578f2d09c34f5b09dea2af3a45a19 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 26 Apr 2022 11:38:38 +0000 Subject: If a node is tagged explicitly, skip implicit tagging for that node. Apart from making sense in the first place, this fixes an assertion failure that happened when the calculated implicit tag did not match the string value of the first child of the node, Bug found by tb@ using afl(1). --- regress/mdoc/Tg/implicit.out_ascii | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 regress/mdoc/Tg/implicit.out_ascii (limited to 'regress/mdoc/Tg/implicit.out_ascii') diff --git a/regress/mdoc/Tg/implicit.out_ascii b/regress/mdoc/Tg/implicit.out_ascii new file mode 100644 index 00000000..e3618686 --- /dev/null +++ b/regress/mdoc/Tg/implicit.out_ascii @@ -0,0 +1,13 @@ +TG-IMPLICIT(1) General Commands Manual TG-IMPLICIT(1) + +NNAAMMEE + TTgg--iimmpplliicciitt - overriding implicit tagging + +DDEESSCCRRIIPPTTIIOONN + BEGINTEST + + iimmpplliicciitt iiss uunnssuusseedd + + ENDTEST + +OpenBSD April 26, 2022 OpenBSD -- cgit v1.2.3