diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-26 11:38:38 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2022-04-26 11:38:38 +0000 |
commit | 008fe3ecbf933d6e4c5edd9fd1ff2327703d428f (patch) | |
tree | 433b10b8a8a24e76f8a06ab36a7cba89d227ddae /regress/mdoc/Tg/implicit.in | |
parent | 83f2e011a49d87a26454dc2158dbfb8c5ff24925 (diff) | |
download | mandoc-008fe3ecbf933d6e4c5edd9fd1ff2327703d428f.tar.gz |
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).
Diffstat (limited to 'regress/mdoc/Tg/implicit.in')
-rw-r--r-- | regress/mdoc/Tg/implicit.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/regress/mdoc/Tg/implicit.in b/regress/mdoc/Tg/implicit.in new file mode 100644 index 00000000..1f89f3e5 --- /dev/null +++ b/regress/mdoc/Tg/implicit.in @@ -0,0 +1,14 @@ +.\" $OpenBSD: implicit.in,v 1.1 2022/04/26 11:28:35 schwarze Exp $ +.Dd $Mdocdate$ +.Dt TG-IMPLICIT 1 +.Os +.Sh NAME +.Nm Tg-implicit +.Nd overriding implicit tagging +.Sh DESCRIPTION +BEGINTEST +.Pp +.Tg explicit +.Sy implicit is unsused +.Pp +ENDTEST |