From a20be95dec7797c55257792a32b6b39bdbdfe595 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 30 May 2017 16:22:03 +0000 Subject: Macro argument quoting does not prevent recognition of punctuation and of called macros. This bug affects almost all macros, and fixing it simplifies the code. It is amazing that the bogus ARGS_QWORD feature got implemented in the first place, and then carrier along for more than eight years without anybody ever noticing that it was pointless. Reported by Leah Neukirchen , found on Void Linux. --- regress/mdoc/In/font.in | 2 +- regress/mdoc/In/font.out_ascii | 2 +- regress/mdoc/In/font.out_markdown | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'regress/mdoc/In') diff --git a/regress/mdoc/In/font.in b/regress/mdoc/In/font.in index e24ab18d..9399325b 100644 --- a/regress/mdoc/In/font.in +++ b/regress/mdoc/In/font.in @@ -6,5 +6,5 @@ .Nd changing the font inside the include macro .Sh DESCRIPTION normal text -.In prefix\\fBheader\\fPsuffix +.In prefix\\fBheader\\fPsuffix | after ":" punctuation "Sy" bold trailing text diff --git a/regress/mdoc/In/font.out_ascii b/regress/mdoc/In/font.out_ascii index 7d1948e4..d868a8cd 100644 --- a/regress/mdoc/In/font.out_ascii +++ b/regress/mdoc/In/font.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE IInn--ffoonntt - changing the font inside the include macro DDEESSCCRRIIPPTTIIOONN - normal text <_p_r_e_f_i_xhheeaaddeerr_s_u_f_f_i_x> trailing text + normal text <_p_r_e_f_i_xhheeaaddeerr_s_u_f_f_i_x> | after: punctuation bboolldd trailing text OpenBSD July 9, 2012 OpenBSD diff --git a/regress/mdoc/In/font.out_markdown b/regress/mdoc/In/font.out_markdown index e007a019..4b99b61e 100644 --- a/regress/mdoc/In/font.out_markdown +++ b/regress/mdoc/In/font.out_markdown @@ -7,7 +7,7 @@ IN-FONT(2) - System Calls Manual # DESCRIPTION normal text -<*prefix**header**suffix*> +<*prefix**header**suffix*> | after: punctuation **bold** trailing text OpenBSD - July 9, 2012 -- cgit v1.2.3-56-ge451