Split a new function roff_parse_comment() out of roff_expand() because this
authorschwarze <schwarze@openbsd.org>
Sun, 1 May 2022 16:18:59 +0000 (16:18 +0000)
committerschwarze <schwarze@openbsd.org>
Sun, 1 May 2022 16:18:59 +0000 (16:18 +0000)
commit928431b49e7e4d94f5836a26ef743c136127465b
treef05820b4bd7ca6a7a0fcfe8cf122d68e7e900d96
parenteabe4e0542e0f6619cd216f00a23ab2aa0cc008a
Split a new function roff_parse_comment() out of roff_expand() because this
functionality is not needed when called from roff_getarg().  This makes the
long and complicated function roff_expand() significantly shorter, and also
simpler in so far as it no longer needs to return ROFF_APPEND.
No functional change intended.
regress/usr.bin/mandoc/roff/esc/Makefile
regress/usr.bin/mandoc/roff/esc/comment.in [new file with mode: 0644]
regress/usr.bin/mandoc/roff/esc/comment.out_ascii [new file with mode: 0644]
regress/usr.bin/mandoc/roff/esc/comment.out_lint [new file with mode: 0644]
usr.bin/mandoc/roff.c