]> git.cameronkatri.com Git - mandoc.git/commit
Surprisingly, every escape sequence can also be used as an argument
authorIngo Schwarze <schwarze@openbsd.org>
Wed, 8 Jun 2022 13:23:57 +0000 (13:23 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Wed, 8 Jun 2022 13:23:57 +0000 (13:23 +0000)
commit88d09deb893505c936316537673cfbf30be47558
tree9be83d537e7c6258d68b8336e0e6adff57959bab
parent0e5b172a930a9f03c2f2175cbdd843fa54782a89
Surprisingly, every escape sequence can also be used as an argument
delimiter for an outer escape sequence, in which case the delimiting
escape sequence retains its syntax but usually ignores its argument
and loses its inherent effect.  Add rudimentary support for this
syntax quirk in order to improve parsing compatibility with groff.
29 files changed:
regress/char/C/Makefile [new file with mode: 0644]
regress/char/C/delim.in [new file with mode: 0644]
regress/char/C/delim.out_ascii [new file with mode: 0644]
regress/char/C/delim.out_lint [new file with mode: 0644]
regress/char/Makefile
regress/char/N/Makefile
regress/char/N/basic.out_lint [new file with mode: 0644]
regress/char/N/delim.in [new file with mode: 0644]
regress/char/N/delim.out_ascii [new file with mode: 0644]
regress/char/N/delim.out_lint [new file with mode: 0644]
regress/roff/esc/A1.in [new file with mode: 0644]
regress/roff/esc/A1.out_ascii [new file with mode: 0644]
regress/roff/esc/A1.out_lint [new file with mode: 0644]
regress/roff/esc/B.in
regress/roff/esc/B.out_ascii
regress/roff/esc/B.out_lint
regress/roff/esc/Makefile
regress/roff/esc/h.in
regress/roff/esc/h.out_ascii
regress/roff/esc/h.out_lint
regress/roff/esc/l.in
regress/roff/esc/l.out_ascii
regress/roff/esc/l.out_lint
regress/roff/esc/o.in
regress/roff/esc/o.out_ascii
regress/roff/esc/w.in
regress/roff/esc/w.out_ascii
regress/roff/esc/w.out_lint
roff_escape.c