[latex3-commits] [git/LaTeX3-latex3-latex3] master: Track down a space properly in l3unicode (ad777ea)

Bruno Le Floch bruno at le-floch.fr
Mon Jan 14 00:09:21 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/ad777eaced8fc764932c6369beab8d7a7ad9ba9e

>---------------------------------------------------------------

commit ad777eaced8fc764932c6369beab8d7a7ad9ba9e
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Mon Jan 14 00:04:40 2019 +0100

    Track down a space properly in l3unicode
    
    The data file for case folding instructs to fold some code points to
    a sequence of 1,2,3 code points (given by hex numbers).  In the case
    of 3 hex numbers the parsing code ended up with a space at the end of
    the third number


>---------------------------------------------------------------

ad777eaced8fc764932c6369beab8d7a7ad9ba9e
 l3kernel/l3unicode.dtx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3unicode.dtx b/l3kernel/l3unicode.dtx
index 14ebbaa..bb48343 100644
--- a/l3kernel/l3unicode.dtx
+++ b/l3kernel/l3unicode.dtx
@@ -104,7 +104,7 @@
             {
               \exp_not:N \tex_Ucharcat:D
                 #1 ~
-                \tex_catcode:D #1
+                \tex_catcode:D #1 ~
             }
         } 
 %    \end{macrocode}
@@ -169,7 +169,7 @@
               \@@_generate:n { "#2 }
               \@@_generate:n { "#3 }
               \tl_if_blank:nF {#4}
-                { \@@_generate:n { "#4 } }
+                { \@@_generate:n { \int_value:w "#4 } }
             }
         }
       \ior_str_map_inline:Nn \g_@@_data_ior





More information about the latex3-commits mailing list