diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-04 00:13:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-04 00:13:15 +0000 |
commit | afcc0a6de7e295d807dddcf20b26811ab1e7803c (patch) | |
tree | 76794e8ec7bb9e27f2b19bec6d03de49933df4fa /regress/mdoc/Sy/punct.out_ascii | |
parent | 90897efbceb54855c1943f8e19d5bba5a542ff65 (diff) | |
download | mandoc-afcc0a6de7e295d807dddcf20b26811ab1e7803c.tar.gz |
Pure preprocessor implementation of the roff(7) .ec and .eo requests
(escape character control), touching nothing after the preprocessing
stage and keeping even the state variable local to the preprocessor.
Since the escape character is also used for line continuation, this
requires pulling the implementation of line continuation from the
input reader to the preprocessor, which also considerably shortens
the code required for that.
When the escape character is changed, simply let the preprocessor
replace bare by escaped backslashes and instances of the non-standard
escape character with bare backslashes - that's all we need.
Oh, and if anybody dares to use these requests in OpenBSD manuals,
sending a medium-sized pack of axe-murderers after them might be a
worthwhile part of the punishment, but probably insuffient on its own.
Diffstat (limited to 'regress/mdoc/Sy/punct.out_ascii')
0 files changed, 0 insertions, 0 deletions