From f9f4c363c58d629451c4b9a44815112814c91e0e 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/Pa/punct.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'regress/mdoc/Pa/punct.in') diff --git a/regress/mdoc/Pa/punct.in b/regress/mdoc/Pa/punct.in index ea6c81ff..c243d742 100644 --- a/regress/mdoc/Pa/punct.in +++ b/regress/mdoc/Pa/punct.in @@ -37,3 +37,6 @@ op paren .Pa ( a op bracket .Pa [ a +.Pp +quoted punctuation: +.Pa a "(" b "|" c ")" d "," "Sy" bold . -- cgit