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/Dv/font.in | 2 +- regress/mdoc/Dv/font.out_ascii | 2 +- regress/mdoc/Dv/font.out_markdown | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'regress/mdoc/Dv') diff --git a/regress/mdoc/Dv/font.in b/regress/mdoc/Dv/font.in index 8e3c5bcb..8d9e370b 100644 --- a/regress/mdoc/Dv/font.in +++ b/regress/mdoc/Dv/font.in @@ -10,4 +10,4 @@ The macro. .Pp And with -.Dv some \\fIembedded\\fP string . +.Dv some \\fIembedded\\fP string ";" "Sy" bold . diff --git a/regress/mdoc/Dv/font.out_ascii b/regress/mdoc/Dv/font.out_ascii index 88f0760d..82013346 100644 --- a/regress/mdoc/Dv/font.out_ascii +++ b/regress/mdoc/Dv/font.out_ascii @@ -6,6 +6,6 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN The BUFSIZ macro. - And with some _e_m_b_e_d_d_e_d string. + And with some _e_m_b_e_d_d_e_d string; bboolldd. OpenBSD October 21, 2011 OpenBSD diff --git a/regress/mdoc/Dv/font.out_markdown b/regress/mdoc/Dv/font.out_markdown index b3351e32..0bf567d8 100644 --- a/regress/mdoc/Dv/font.out_markdown +++ b/regress/mdoc/Dv/font.out_markdown @@ -11,6 +11,6 @@ The macro. And with -`some embedded string`. +`some embedded string`; **bold**. OpenBSD - October 21, 2011 -- cgit v1.2.3-56-ge451