diff options
author | 2022-06-02 11:29:07 +0000 | |
---|---|---|
committer | 2022-06-02 11:29:07 +0000 | |
commit | 1ecd7d69278a7a53010b2bdde946bb18930ae850 (patch) | |
tree | 64717d1f374ac110b1ac89cb113a09d6808709df /regress/roff/mc | |
parent | 47c818f283c63fdbb7882e9aac6e2ab028666c9f (diff) | |
download | mandoc-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 'regress/roff/mc')
0 files changed, 0 insertions, 0 deletions