summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Bl/diag.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-06-02 11:29:07 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-06-02 11:29:07 +0000
commit3f1a8f780a3e6cd71d71a29bce66571cc2fad12e (patch)
tree68fd8bdd83e7e95f447c3828061bb4cf565aa02b /regress/mdoc/Bl/diag.in
parent19ceeb7841194569b42a6e68a0db6e9de594ee5e (diff)
downloadmandoc-3f1a8f780a3e6cd71d71a29bce66571cc2fad12e.tar.gz
Avoid the layering violation of re-parsing for \E in roff_expand().
To that end, add another argument to roff_escape() returning the index of the escape name. This also makes the code in roff_escape() a bit more uniform in so far as it no longer needs the "char esc_name" local variable but now does everything with indices into buf[]. No functional change.
Diffstat (limited to 'regress/mdoc/Bl/diag.in')
0 files changed, 0 insertions, 0 deletions