Update of bug #67842 (group groff):

                  Status:             In Progress => Fixed
             Open/Closed:                    Open => Closed
         Planned Release:                    None => 1.24.0

    _______________________________________________________

Follow-up Comment #1:


commit 3e26c6e1470136db5f4f15d79d7db283df4447a0
Author: G. Branden Robinson <[email protected]>
Date:   Sun Dec 21 10:37:39 2025 -0600

    [groff]: Regression-test Savannah #67842.
    
    * src/roff/groff/tests/check-delimiter-validity.sh: Add regression test
      for Savannah #67842.
    
    Test fails at this commit.

commit 8ab3666cf4540cb41ae6350fb10d6ff1d0d3ec8f
Author: G. Branden Robinson <[email protected]>
Date:   Sun Dec 21 10:14:33 2025 -0600

    [troff]: Fix Savannah #67842.
    
    Split `TOKEN_SPECIAL_CHAR` token type into two, leaving the existing one
    for `\(` and `\[` escape sequences, and creating a new
    `TOKEN_DELIMITED_SPECIAL_CHAR` for the delimited `\C` escape sequence.
    
    * src/roff/troff/token.h (class token): Add new
      `TOKEN_DELIMITED_SPECIAL_CHAR` enumeration constant.
    
      (token::is_special_character, token::is_any_character): Return `true`
      for both new and old token types.
    
    * src/roff/troff/input.cpp (token::next) <C>: Tokenize `C` escape
      sequence as `TOKEN_DELIMITED_SPECIAL_CHAR`.
    
      (token::is_usable_as_delimiter): Reject `TOKEN_DELIMITED_SPECIAL_CHAR`
      as a delimiter.
    
      (token::operator==, token::description, process_input_stack)
      (token::get_charinfo, token::add_to_zero_width_node_list)
      (token::process): Treat new token type the same as the old one.
    
    Fixes <https://savannah.gnu.org/bugs/?67842>.  Problem appears to date
    back to groff's birth.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67842>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to