]> git.cameronkatri.com Git - mandoc.git/commit
Allow arbitrary argument delimiters for \C, like groff does.
authorIngo Schwarze <schwarze@openbsd.org>
Mon, 6 Jun 2022 12:09:48 +0000 (12:09 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Mon, 6 Jun 2022 12:09:48 +0000 (12:09 +0000)
commitba56b67d4eddedb1f10c98b2cdc7e0c798c1799a
treed282b7f49ae3c1e648fbe26fd3860132b865765f
parent2eb74bb175e1e2d190025028589fd47a3c0674ca
Allow arbitrary argument delimiters for \C, like groff does.
The restriction of only allowing ' as the delimiter was introduced
by kristaps@ on 2011/04/09 when he first supported \C.
For most other escape sequences, similar restrictions were relaxed
later on, but for the rarely used \C, it was apparently forgotten.

While here, reject empty character names: they are never valid.
roff_escape.c