Update of bug #67718 (group groff):

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

    _______________________________________________________

Follow-up Comment #3:


commit 1c4d4a722cd43ea175629185d1fd37738f467342
Author: G. Branden Robinson <[email protected]>
Date:   Wed Nov 19 15:15:22 2025 -0600

    [troff]: Fix Savannah #67718 (char class overpop).
    
    * src/roff/troff/input.cpp (define_class_request): Stop adding the
      second end point of a character code range (to a character class)
      duplicatively as a singleton, preventing redundant population of the
      range.
    
    Fixes <https://savannah.gnu.org/bugs/?67718>.
    
    $ sed -n '44,+1p' tmac/ja.tmac
    .class [CJKnormal] \
      \[u3041]-\[u3096] \[u30A0]-\[u30FF] \[u4E00]-\[u9FFF]
    
    Before:
    $ printf '.pchar \\C"[CJKnormal]"\n' | ./build/test-groff -m ja -T utf8
    character class '[CJKnormal]'
      defined at: file name:
"/home/branden/src/GIT/groff/build/../tmac/ja.tmac", line number: 44
      contains ranges: U+3041-U+3096 U+3096 U+30A0-U+30FF U+30FF U+4E00-U+9FFF
U+9FFF
      contains nested classes: (none)
    
    After:
    $ printf '.pchar \\C"[CJKnormal]"\n' | ./build/test-groff -m ja -T utf8
    character class '[CJKnormal]'
      defined at: file name:
"/home/branden/src/GIT/groff/build/../tmac/ja.tmac", line number: 44
      contains ranges: U+3041-U+3096 U+30A0-U+30FF U+4E00-U+9FFF
      contains nested classes: (none)




    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to