diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-30 16:22:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-30 16:22:03 +0000 |
commit | f9f4c363c58d629451c4b9a44815112814c91e0e (patch) | |
tree | 7ee2addae474eb4c48659e3b3571f23629b43419 /regress/mdoc/Eo | |
parent | debd68a8f3b16460c3f97da77580fc510b61fbb7 (diff) | |
download | mandoc-f9f4c363c58d629451c4b9a44815112814c91e0e.tar.gz |
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 <leah at vuxu dot org>, found on Void Linux.
Diffstat (limited to 'regress/mdoc/Eo')
-rw-r--r-- | regress/mdoc/Eo/empty.in | 2 | ||||
-rw-r--r-- | regress/mdoc/Eo/empty.out_ascii | 6 | ||||
-rw-r--r-- | regress/mdoc/Eo/empty.out_markdown | 2 | ||||
-rw-r--r-- | regress/mdoc/Eo/obsolete.in | 2 | ||||
-rw-r--r-- | regress/mdoc/Eo/obsolete.out_ascii | 2 | ||||
-rw-r--r-- | regress/mdoc/Eo/obsolete.out_markdown | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/regress/mdoc/Eo/empty.in b/regress/mdoc/Eo/empty.in index bf637f27..b971b6dc 100644 --- a/regress/mdoc/Eo/empty.in +++ b/regress/mdoc/Eo/empty.in @@ -32,7 +32,7 @@ text all .Eo << text -.Ec >> +.Ec >> "Sy" bold completely empty .No prefix Ns Eo .Ec diff --git a/regress/mdoc/Eo/empty.out_ascii b/regress/mdoc/Eo/empty.out_ascii index a28e5727..96849bb0 100644 --- a/regress/mdoc/Eo/empty.out_ascii +++ b/regress/mdoc/Eo/empty.out_ascii @@ -5,9 +5,9 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN completely empty closing only >> content only text opening only << no - opening text>> no content <<>> no closing <<text all <<text>> completely - empty prefix closing only prefix>> no opening prefixtext>> no closing - <<prefix stray closing + opening text>> no content <<>> no closing <<text all <<text>> bboolldd + completely empty prefix closing only prefix>> no opening prefixtext>> no + closing <<prefix stray closing >> end of file OpenBSD February 1, 2015 OpenBSD diff --git a/regress/mdoc/Eo/empty.out_markdown b/regress/mdoc/Eo/empty.out_markdown index e0ed0e9b..506a4a09 100644 --- a/regress/mdoc/Eo/empty.out_markdown +++ b/regress/mdoc/Eo/empty.out_markdown @@ -20,7 +20,7 @@ no content no closing <<text all -<<text>> +<<text>> **bold** completely empty prefixclosing only prefix>> diff --git a/regress/mdoc/Eo/obsolete.in b/regress/mdoc/Eo/obsolete.in index fe0bb087..2640f2aa 100644 --- a/regress/mdoc/Eo/obsolete.in +++ b/regress/mdoc/Eo/obsolete.in @@ -11,7 +11,7 @@ initial text .En enclosed words with Fl flags middle text -.En more enclosed words +.En "(" more enclosed words final text .Pp .Es diff --git a/regress/mdoc/Eo/obsolete.out_ascii b/regress/mdoc/Eo/obsolete.out_ascii index bb2f15c5..cba2fc7d 100644 --- a/regress/mdoc/Eo/obsolete.out_ascii +++ b/regress/mdoc/Eo/obsolete.out_ascii @@ -6,7 +6,7 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN no prior Es - surplus initial text <<enclosed words with --ffllaaggss>> middle text <<more + surplus initial text <<enclosed words with --ffllaaggss>> middle text (<<more enclosed words>> final text initial text after empty Es final text diff --git a/regress/mdoc/Eo/obsolete.out_markdown b/regress/mdoc/Eo/obsolete.out_markdown index 21a3e690..200ea657 100644 --- a/regress/mdoc/Eo/obsolete.out_markdown +++ b/regress/mdoc/Eo/obsolete.out_markdown @@ -12,7 +12,7 @@ surplus initial text <<enclosed words with **-flags**>> middle text -<<more enclosed words>> +(<<more enclosed words>> final text initial text |