]> git.cameronkatri.com Git - mandoc.git/commit
Since \. is not a character escape sequence, re-classify it from the
authorIngo Schwarze <schwarze@openbsd.org>
Thu, 2 Jun 2022 14:51:41 +0000 (14:51 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Thu, 2 Jun 2022 14:51:41 +0000 (14:51 +0000)
commit3b52bb8d03ff61274832867c905a80a2761859aa
tree2762695c4a1dd993f52b5e3981ca97c10dd3a4bd
parent1ecd7d69278a7a53010b2bdde946bb18930ae850
Since \. is not a character escape sequence, re-classify it from the
wrong parsing class ESCAPE_SPECIAL to the better-suited parsing class
ESCAPE_UNDEF, exactly like it is already done for the similar \\,
which isn't a character escape sequence either.

No formatting change is intended just yet, but this will matter for
upcoming improvements in the parser for roff(7) macro, string, and
register names.

See the node "5.23.2 Copy Mode" in "info groff" regarding
what \\ and \. really mean.
chars.c
mandoc_char.7
roff_escape.c