aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc_char.7
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
commit1ecd7d69278a7a53010b2bdde946bb18930ae850 (patch)
tree64717d1f374ac110b1ac89cb113a09d6808709df /mandoc_char.7
parent47c818f283c63fdbb7882e9aac6e2ab028666c9f (diff)
downloadmandoc-1ecd7d69278a7a53010b2bdde946bb18930ae850.tar.gz
mandoc-1ecd7d69278a7a53010b2bdde946bb18930ae850.tar.zst
mandoc-1ecd7d69278a7a53010b2bdde946bb18930ae850.zip
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 'mandoc_char.7')
0 files changed, 0 insertions, 0 deletions