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/Xr/args.out_ascii | |
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/Xr/args.out_ascii')
-rw-r--r-- | regress/mdoc/Xr/args.out_ascii | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/mdoc/Xr/args.out_ascii b/regress/mdoc/Xr/args.out_ascii index 81fe8784..67e8b712 100644 --- a/regress/mdoc/Xr/args.out_ascii +++ b/regress/mdoc/Xr/args.out_ascii @@ -5,11 +5,11 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN One single echo(1) is fine, and so is an echo(1) followed by something - else. + _e_l_s_e. But listen for multiple echo(1)s. - A call, an echo(1), and another echo(1). + A call, an (echo(1)), and another echo(1). Finally, half an echo, no echo and no echo at all. |