Raymond Toy pushed to branch issue-316-support-roundtrip-char-casing at cmucl / cmucl

Commits:

2 changed files:

Changes:

  • src/code/char.lisp
    ... ... @@ -62,7 +62,7 @@
    62 62
     
    
    63 63
     ;; This MUST be greater than or equal to 127!
    
    64 64
     (defconstant +unicode-lower-limit+
    
    65
    -  127
    
    65
    +  191
    
    66 66
       "A character code strictly larger than this is handled using Unicode rules.")
    
    67 67
     
    
    68 68
     
    
    ... ... @@ -471,7 +471,6 @@
    471 471
       #+(and unicode (not unicode-bootstrap))
    
    472 472
       (let ((m (char-code char)))
    
    473 473
         (cond ((< 96 m 123) (code-char (- m 32)))
    
    474
    -          ((= m 181) char)
    
    475 474
               ((> m +unicode-lower-limit+)
    
    476 475
                (if (member (unicode-category m) '(92 32 75 109))
    
    477 476
                    char
    

  • src/compiler/srctran.lisp
    ... ... @@ -3345,7 +3345,6 @@
    3345 3345
       #+(and unicode (not unicode-bootstrap))
    
    3346 3346
       '(let ((m (char-code x)))
    
    3347 3347
         (cond ((< 96 m 123) (code-char (- m 32)))
    
    3348
    -          ((= m 181) x)
    
    3349 3348
               ((> m lisp::+unicode-lower-limit+)
    
    3350 3349
                (if (member (unicode-category m) '(92 32 75 109))
    
    3351 3350
                    x