Follow-up Comment #3, bug #67783 (group groff): [comment #0 original submission:] > a recent change to ban _all_ horizontal motions from use as escape sequence > delimiters
That change was reverted. commit 445def09afa06884bab003ca0456218d56577675 Author: G. Branden Robinson <[email protected]> Date: Sun Dec 21 00:55:25 2025 -0600 [troff]: Refactor (1/2). Split `TOKEN_HORIZONTAL_MOTION` token type into two, leaving the existing one for `\0`, `\^`, and `\|` escape sequences, and creating a new `TOKEN_DELIMITED_HORIZONTAL_MOTION` for the parameterized `\h` escape sequence. * src/roff/troff/token.h (class token): Add new `TOKEN_DELIMITED_HORIZONTAL_MOTION` enumeration constant. (token::is_horizontal_motion): Return `true` for both new and old token types. commit 0977e1edd02825b8c4f112b6fe97e41ce96783e6 Author: G. Branden Robinson <[email protected]> Date: Sun Dec 21 00:59:47 2025 -0600 [troff]: Refactor (2/2). * src/roff/troff/input.cpp (token::next) <h>: Tokenize `h` escape sequence as `TOKEN_DELIMITED_HORIZONTAL_MOTION`. (token::is_usable_as_delimiter): Reject `TOKEN_DELIMITED_HORIZONTAL_MOTION` instead of `TOKEN_HORIZONTAL_MOTION` as a delimiter. (token::next <z>, process_input_stack) (token::add_to_zero_width_node_list, token::process): Treat new token type the same as the old one. (token::description): Describe new token type distinctly. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?67783> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature
