* src/roff/troff/input.cpp (do_zero_width_output, do_register): Revise self-descriptions of the `\Z` and `\R` escape sequences for clarity. --- ChangeLog | 6 ++++++ src/roff/troff/input.cpp | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 7cb944ec2..7dfb22478 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2026-10-24 G. Branden Robinson <[email protected]> + + * src/roff/troff/input.cpp (do_zero_width_output, do_register): + Revise self-descriptions of the `\Z` and `\R` escape sequences + for clarity. + 2026-10-24 G. Branden Robinson <[email protected]> * src/roff/troff/input.cpp (do_overstrike, do_bracket) diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp index 28d1ecdb9..a9e82fb24 100644 --- a/src/roff/troff/input.cpp +++ b/src/roff/troff/input.cpp @@ -2053,12 +2053,12 @@ static node *do_zero_width_output() // \Z start_token.next(); if (!want_att_compat && !start_token.is_usable_as_delimiter()) warning(WARN_DELIM, "using %1 to delimit" - " a zero-width sequence escape sequence" + " a zero-width output escape sequence" " is deprecated", start_token.description()); else if (want_att_compat && !start_token.is_usable_as_delimiter(false, DELIMITER_ATT_STRING_EXPRESSION)) { - warning(WARN_DELIM, "zero-width sequence escape sequence" + warning(WARN_DELIM, "zero-width output escape sequence" " does not accept %1 as a delimiter", start_token.description()); return 0 /* nullptr */; @@ -6649,12 +6649,12 @@ static void do_register() // \R start_token.next(); if (!want_att_compat && !start_token.is_usable_as_delimiter()) warning(WARN_DELIM, "using %1 to delimit" - " a register assignment escape sequence" + " a register update escape sequence" " is deprecated", start_token.description()); else if (want_att_compat && !start_token.is_usable_as_delimiter(false, DELIMITER_ATT_STRING_EXPRESSION)) { - warning(WARN_DELIM, "register assignment escape sequence" + warning(WARN_DELIM, "register update escape sequence" " does not accept %1 as a delimiter", start_token.description()); return; -- 2.39.5
signature.asc
Description: PGP signature
