[latex3-commits] [git/LaTeX3-latex3-latex3] master: \char_codepoint_to_bytes:n - Revise (fbf7870)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Jun 1 22:12:03 CEST 2018


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

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

commit fbf78705134c6a92163febb8d2bc8a10649fe3b5
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Jun 1 21:12:03 2018 +0100

    \char_codepoint_to_bytes:n - Revise
    
    This alters the results but also makes f-typ expandable.


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

fbf78705134c6a92163febb8d2bc8a10649fe3b5
 l3kernel/l3candidates.dtx               |  129 ++++++++++++++++++++++---------
 l3kernel/testfiles/m3char001.lvt        |    8 ++
 l3kernel/testfiles/m3char001.tlg        |    8 ++
 l3kernel/testfiles/m3expl001.luatex.tlg |    7 ++
 l3kernel/testfiles/m3expl001.ptex.tlg   |    7 ++
 l3kernel/testfiles/m3expl001.tlg        |    7 ++
 l3kernel/testfiles/m3expl001.uptex.tlg  |    7 ++
 l3kernel/testfiles/m3expl001.xetex.tlg  |    7 ++
 l3kernel/testfiles/m3expl003.luatex.tlg |    7 ++
 l3kernel/testfiles/m3expl003.ptex.tlg   |    7 ++
 l3kernel/testfiles/m3expl003.tlg        |    7 ++
 l3kernel/testfiles/m3expl003.uptex.tlg  |    7 ++
 l3kernel/testfiles/m3expl003.xetex.tlg  |    7 ++
 13 files changed, 177 insertions(+), 38 deletions(-)

diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index c002218..9edbe72 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -1415,14 +1415,16 @@
 %   \emph{etc.})
 % \end{function}
 %
-% \begin{function}[added = 2018-04-02, rEXP]{\char_codepoint_to_bytes:n}
+% \begin{function}[added = 2018-06-01, EXP]{\char_codepoint_to_bytes:n}
 %   \begin{syntax}
 %     \cs{char_codepoint_to_bytes:n} \Arg{codepoint}
 %   \end{syntax}
 %   Converts the (Unicode) \meta{codepoint} to UTF-8 bytes. The expansion
-%   of this function comprises a leading integer (|1|--|4|) followed by the
-%   appropriate number of brace groups, each of which contains one byte of
-%   the UTF-8 sequence for the codepoint.
+%   of this function comprises four brace groups, each of which will contain
+%   a hexadecimal value: the appropriate byte. As UTF-8 is a variable-length,
+%   one or more of the grouos may be empty: the bytes read in the logical order,
+%   such that a two-byte codepoint will have groups |#1| and |#2| filled
+%   and |#3| and |#4| empty.
 % \end{function}
 %
 % \begin{function}[TF, updated = 2012-12-20]{\peek_N_type:}
@@ -3188,13 +3190,21 @@
 % \end{macro}
 % \end{macro}
 %
-% \begin{macro}[rEXP]{\char_codepoint_to_bytes:n}
-% \begin{macro}[rEXP]{\@@_codepoint_to_bytes_auxi:n}
-% \begin{macro}[rEXP]{\@@_codepoint_to_bytes_auxii:Nnn}
-% \begin{macro}[rEXP]{\@@_codepoint_to_bytes_auxiii:n}
+% \begin{macro}[EXP]{\char_codepoint_to_bytes:n}
+% \begin{macro}[EXP]{\@@_codepoint_to_bytes_auxi:n}
+% \begin{macro}[EXP]{\@@_codepoint_to_bytes_auxii:Nnn}
+% \begin{macro}[EXP]{\@@_codepoint_to_bytes_auxiii:n}
+% \begin{macro}[EXP]
+%   {
+%     \@@_codepoint_to_bytes_outputi:nw   ,
+%     \@@_codepoint_to_bytes_outputii:nw  ,
+%     \@@_codepoint_to_bytes_outputiii:nw ,
+%     \@@_codepoint_to_bytes_outputiv:nw
+%   }
+% \begin{macro}[EXP]
+%   {\@@_codepoint_to_bytes_output:nnn, \@@_codepoint_to_bytes_output:fnn}
+% \begin{macro}[EXP]{\@@_codepoint_to_bytes_end:}
 %   This code converts a codepoint into the correct UTF-8 representation.
-%   As there are a variable number of octets, the result starts with the
-%   numeral |1|--|4| to indicate the nature of the returned value.
 %   In terms of the algorithm itself, see
 %   \url{https://en.wikipedia.org/wiki/UTF-8} for the octet pattern.
 %    \begin{macrocode}
@@ -3207,40 +3217,83 @@
   {
     \if_int_compare:w #1 > "80 \exp_stop_f:
       \if_int_compare:w #1 < "800 \exp_stop_f:
-        2
-        \@@_codepoint_to_bytes_auxii:Nnn C {#1} { 64 }
-        \@@_codepoint_to_bytes_auxiii:n {#1}
+        \@@_codepoint_to_bytes_outputi:nw
+          { \@@_codepoint_to_bytes_auxii:Nnn C {#1} { 64 } }
+        \@@_codepoint_to_bytes_outputii:nw
+          { \@@_codepoint_to_bytes_auxiii:n {#1} }
       \else:
         \if_int_compare:w #1 < "10000 \exp_stop_f:
-          3
-          \@@_codepoint_to_bytes_auxii:Nnn E {#1} { 64 * 64 }
-          \@@_codepoint_to_bytes_auxiii:n
-            { \int_div_truncate:nn {#1} { 64 } }
-          \@@_codepoint_to_bytes_auxiii:n {#1}
+          \@@_codepoint_to_bytes_outputi:nw
+            { \@@_codepoint_to_bytes_auxii:Nnn E {#1} { 64 * 64 } }
+          \@@_codepoint_to_bytes_outputii:nw
+            {
+              \@@_codepoint_to_bytes_auxiii:n
+                { \int_div_truncate:nn {#1} { 64 } }
+            }
+          \@@_codepoint_to_bytes_outputiii:nw
+            { \@@_codepoint_to_bytes_auxiii:n {#1} }
         \else:
-          4
-          \@@_codepoint_to_bytes_auxii:Nnn F
-            {#1} { 64 * 64 * 64 }
-          \@@_codepoint_to_bytes_auxiii:n
-            { \int_div_truncate:nn {#1} { 64 * 64 } }
-          \@@_codepoint_to_bytes_auxiii:n
-            { \int_div_truncate:nn {#1} { 64 } }
-          \@@_codepoint_to_bytes_auxiii:n {#1}
+          \@@_codepoint_to_bytes_outputi:nw
+            {
+              \@@_codepoint_to_bytes_auxii:Nnn F
+                 {#1} { 64 * 64 * 64 }
+            }
+          \@@_codepoint_to_bytes_outputii:nw
+            {
+              \@@_codepoint_to_bytes_auxiii:n
+                { \int_div_truncate:nn {#1} { 64 * 64 } }
+            }
+          \@@_codepoint_to_bytes_outputiii:nw
+            {
+              \@@_codepoint_to_bytes_auxiii:n
+                { \int_div_truncate:nn {#1} { 64 } }
+            }
+          \@@_codepoint_to_bytes_outputiv:nw
+            { \@@_codepoint_to_bytes_auxiii:n {#1} }
         \fi:
       \fi:
     \else:
-      1 {#1}
+      \@@_codepoint_to_bytes_outputi:nw {#1}
     \fi:
+    \@@_codepoint_to_bytes_end: { } { } { } { }
   }
 \cs_new:Npn \@@_codepoint_to_bytes_auxii:Nnn #1#2#3
-  { { \int_eval:n { "#10 + \int_div_truncate:nn {#2} {#3} } } }
+  {  "#10 + \int_div_truncate:nn {#2} {#3} }
 \cs_new:Npn \@@_codepoint_to_bytes_auxiii:n #1
-  { { \int_eval:n { \int_mod:nn {#1} { 64 } + 128 } } }
+  { \int_mod:nn {#1} { 64 } + 128 }
+\cs_new:Npn \@@_codepoint_to_bytes_outputi:nw
+  #1 #2 \@@_codepoint_to_bytes_end: #3
+  { \@@_codepoint_to_bytes_output:fnn { \int_eval:n {#1} } { } {#2} }
+\cs_new:Npn \@@_codepoint_to_bytes_outputii:nw
+  #1 #2 \@@_codepoint_to_bytes_end: #3#4
+  { \@@_codepoint_to_bytes_output:fnn { \int_eval:n {#1} } { {#3} } {#2} }
+\cs_new:Npn \@@_codepoint_to_bytes_outputiii:nw
+  #1 #2 \@@_codepoint_to_bytes_end: #3#4#5
+  {
+    \@@_codepoint_to_bytes_output:fnn
+      { \int_eval:n {#1} } { {#3} {#4} } {#2}
+  }
+\cs_new:Npn \@@_codepoint_to_bytes_outputiv:nw
+  #1 #2 \@@_codepoint_to_bytes_end: #3#4#5#6
+  {
+    \@@_codepoint_to_bytes_output:fnn
+      { \int_eval:n {#1} } { {#3} {#4} {#5} } {#2}
+  }
+\cs_new:Npn \@@_codepoint_to_bytes_output:nnn #1#2#3
+  {
+    #3
+    \@@_codepoint_to_bytes_end: #2 {#1}
+  }
+\cs_generate_variant:Nn \@@_codepoint_to_bytes_output:nnn { f }
+\cs_new:Npn \@@_codepoint_to_bytes_end: { }
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
 % \end{macro}
 % \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
 %
 %    \begin{macrocode}
 %<@@=tl>
@@ -4225,14 +4278,14 @@
       \cs_set_protected:Npn \@@_tmp:w #1#2
         {
           \group_begin:
-            \cs_set_protected:Npn \@@_tmp:w ##1##2##3
+            \cs_set_protected:Npn \@@_tmp:w ##1##2##3##4
               {
                 \tl_const:Nx #1
                   {
                     \exp_after:wN \exp_after:wN \exp_after:wN
-                      \exp_not:N \char_generate:nn {##2} { 13 }
+                      \exp_not:N \char_generate:nn {##1} { 13 }
                     \exp_after:wN \exp_after:wN \exp_after:wN
-                      \exp_not:N \char_generate:nn {##3} { 13 }
+                      \exp_not:N \char_generate:nn {##2} { 13 }
                   }
               }
             \tl_set:Nx \l_@@_internal_a_tl
@@ -4271,13 +4324,13 @@
           \exp_after:wN \@@_tmp:w \l_@@_internal_a_tl
           \@@_loop:nn
         }
-      \cs_set_protected:Npn \@@_tmp:w #1#2#3#4#5#6
+      \cs_set_protected:Npn \@@_tmp:w #1#2#3#4#5#6#7#8
         {
           \tl_const:cx
             {
               c_@@_lower_case_
+              \char_generate:nn {#1} { 12 }
               \char_generate:nn {#2} { 12 }
-              \char_generate:nn {#3} { 12 }
               _tl
             }
             {
@@ -4295,9 +4348,9 @@
             }
             {
               \exp_after:wN \exp_after:wN \exp_after:wN
-                \exp_not:N \char_generate:nn {#2} { 13 }
+                \exp_not:N \char_generate:nn {#1} { 13 }
               \exp_after:wN \exp_after:wN \exp_after:wN
-                \exp_not:N \char_generate:nn {#3} { 13 }
+                \exp_not:N \char_generate:nn {#2} { 13 }
             }
         }
       \@@_loop:nn
@@ -4405,13 +4458,13 @@
       \cs_set_protected:Npn \@@_tmp:w #1#2#3
         {
           \group_begin:
-            \cs_set_protected:Npn \@@_tmp:w ##1##2##3
+            \cs_set_protected:Npn \@@_tmp:w ##1##2##3##4
               {
                 \tl_const:cx
                   {
                     c_@@_ #3 _case_
+                    \char_generate:nn {##1} { 12 }
                     \char_generate:nn {##2} { 12 }
-                    \char_generate:nn {##3} { 12 }
                     _tl
                   }
                     {#2}
diff --git a/l3kernel/testfiles/m3char001.lvt b/l3kernel/testfiles/m3char001.lvt
index f6a0c92..7d23f6c 100644
--- a/l3kernel/testfiles/m3char001.lvt
+++ b/l3kernel/testfiles/m3char001.lvt
@@ -134,4 +134,12 @@
       { # \tex_cr:D A \char_generate:nn { `A } { 12 } \tex_cr:D }
   }
 
+\TESTEXP { \char_codepoint_to_bytes:n }
+  {
+    \char_codepoint_to_bytes:n { `A } \NEWLINE
+    \char_codepoint_to_bytes:n { "03A9 } \NEWLINE
+    \char_codepoint_to_bytes:n { "1200 } \NEWLINE
+    \char_codepoint_to_bytes:n { "10000 }
+  }
+
 \END
diff --git a/l3kernel/testfiles/m3char001.tlg b/l3kernel/testfiles/m3char001.tlg
index 523675f..c6d6f67 100644
--- a/l3kernel/testfiles/m3char001.tlg
+++ b/l3kernel/testfiles/m3char001.tlg
@@ -510,3 +510,11 @@ l. ...  }
 TEST 6: Use inside \halign 
 ============================================================
 ============================================================
+============================================================
+TEST 7: \char_codepoint_to_bytes:n 
+============================================================
+{65}{}{}{}
+{206}{169}{}{}
+{225}{136}{128}{}
+{240}{144}{128}{128}
+============================================================
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index ab3ed81..4b2cadc 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -5848,6 +5848,13 @@ Defining \char_codepoint_to_bytes:n on line ...
 Defining \__char_codepoint_to_bytes_auxi:n on line ...
 Defining \__char_codepoint_to_bytes_auxii:Nnn on line ...
 Defining \__char_codepoint_to_bytes_auxiii:n on line ...
+Defining \__char_codepoint_to_bytes_outputi:nw on line ...
+Defining \__char_codepoint_to_bytes_outputii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiv:nw on line ...
+Defining \__char_codepoint_to_bytes_output:nnn on line ...
+Defining \__char_codepoint_to_bytes_output:fnn on line ...
+Defining \__char_codepoint_to_bytes_end: on line ...
 Defining \tl_if_head_eq_catcode:oNTF on line ...
 Defining \tl_lower_case:n on line ...
 Defining \tl_upper_case:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index 13c91f4..8b5c215 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -5843,6 +5843,13 @@ Defining \char_codepoint_to_bytes:n on line ...
 Defining \__char_codepoint_to_bytes_auxi:n on line ...
 Defining \__char_codepoint_to_bytes_auxii:Nnn on line ...
 Defining \__char_codepoint_to_bytes_auxiii:n on line ...
+Defining \__char_codepoint_to_bytes_outputi:nw on line ...
+Defining \__char_codepoint_to_bytes_outputii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiv:nw on line ...
+Defining \__char_codepoint_to_bytes_output:nnn on line ...
+Defining \__char_codepoint_to_bytes_output:fnn on line ...
+Defining \__char_codepoint_to_bytes_end: on line ...
 Defining \tl_if_head_eq_catcode:oNTF on line ...
 Defining \tl_lower_case:n on line ...
 Defining \tl_upper_case:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index 7e72e08..aec1f61 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -5843,6 +5843,13 @@ Defining \char_codepoint_to_bytes:n on line ...
 Defining \__char_codepoint_to_bytes_auxi:n on line ...
 Defining \__char_codepoint_to_bytes_auxii:Nnn on line ...
 Defining \__char_codepoint_to_bytes_auxiii:n on line ...
+Defining \__char_codepoint_to_bytes_outputi:nw on line ...
+Defining \__char_codepoint_to_bytes_outputii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiv:nw on line ...
+Defining \__char_codepoint_to_bytes_output:nnn on line ...
+Defining \__char_codepoint_to_bytes_output:fnn on line ...
+Defining \__char_codepoint_to_bytes_end: on line ...
 Defining \tl_if_head_eq_catcode:oNTF on line ...
 Defining \tl_lower_case:n on line ...
 Defining \tl_upper_case:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index ed3315d..c39ba5b 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -5840,6 +5840,13 @@ Defining \char_codepoint_to_bytes:n on line ...
 Defining \__char_codepoint_to_bytes_auxi:n on line ...
 Defining \__char_codepoint_to_bytes_auxii:Nnn on line ...
 Defining \__char_codepoint_to_bytes_auxiii:n on line ...
+Defining \__char_codepoint_to_bytes_outputi:nw on line ...
+Defining \__char_codepoint_to_bytes_outputii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiv:nw on line ...
+Defining \__char_codepoint_to_bytes_output:nnn on line ...
+Defining \__char_codepoint_to_bytes_output:fnn on line ...
+Defining \__char_codepoint_to_bytes_end: on line ...
 Defining \tl_if_head_eq_catcode:oNTF on line ...
 Defining \tl_lower_case:n on line ...
 Defining \tl_upper_case:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index adf021c..5f87317 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -5813,6 +5813,13 @@ Defining \char_codepoint_to_bytes:n on line ...
 Defining \__char_codepoint_to_bytes_auxi:n on line ...
 Defining \__char_codepoint_to_bytes_auxii:Nnn on line ...
 Defining \__char_codepoint_to_bytes_auxiii:n on line ...
+Defining \__char_codepoint_to_bytes_outputi:nw on line ...
+Defining \__char_codepoint_to_bytes_outputii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiv:nw on line ...
+Defining \__char_codepoint_to_bytes_output:nnn on line ...
+Defining \__char_codepoint_to_bytes_output:fnn on line ...
+Defining \__char_codepoint_to_bytes_end: on line ...
 Defining \tl_if_head_eq_catcode:oNTF on line ...
 Defining \tl_lower_case:n on line ...
 Defining \tl_upper_case:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index ab3ed81..4b2cadc 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -5848,6 +5848,13 @@ Defining \char_codepoint_to_bytes:n on line ...
 Defining \__char_codepoint_to_bytes_auxi:n on line ...
 Defining \__char_codepoint_to_bytes_auxii:Nnn on line ...
 Defining \__char_codepoint_to_bytes_auxiii:n on line ...
+Defining \__char_codepoint_to_bytes_outputi:nw on line ...
+Defining \__char_codepoint_to_bytes_outputii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiv:nw on line ...
+Defining \__char_codepoint_to_bytes_output:nnn on line ...
+Defining \__char_codepoint_to_bytes_output:fnn on line ...
+Defining \__char_codepoint_to_bytes_end: on line ...
 Defining \tl_if_head_eq_catcode:oNTF on line ...
 Defining \tl_lower_case:n on line ...
 Defining \tl_upper_case:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index 13c91f4..8b5c215 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -5843,6 +5843,13 @@ Defining \char_codepoint_to_bytes:n on line ...
 Defining \__char_codepoint_to_bytes_auxi:n on line ...
 Defining \__char_codepoint_to_bytes_auxii:Nnn on line ...
 Defining \__char_codepoint_to_bytes_auxiii:n on line ...
+Defining \__char_codepoint_to_bytes_outputi:nw on line ...
+Defining \__char_codepoint_to_bytes_outputii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiv:nw on line ...
+Defining \__char_codepoint_to_bytes_output:nnn on line ...
+Defining \__char_codepoint_to_bytes_output:fnn on line ...
+Defining \__char_codepoint_to_bytes_end: on line ...
 Defining \tl_if_head_eq_catcode:oNTF on line ...
 Defining \tl_lower_case:n on line ...
 Defining \tl_upper_case:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index 7e72e08..aec1f61 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -5843,6 +5843,13 @@ Defining \char_codepoint_to_bytes:n on line ...
 Defining \__char_codepoint_to_bytes_auxi:n on line ...
 Defining \__char_codepoint_to_bytes_auxii:Nnn on line ...
 Defining \__char_codepoint_to_bytes_auxiii:n on line ...
+Defining \__char_codepoint_to_bytes_outputi:nw on line ...
+Defining \__char_codepoint_to_bytes_outputii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiv:nw on line ...
+Defining \__char_codepoint_to_bytes_output:nnn on line ...
+Defining \__char_codepoint_to_bytes_output:fnn on line ...
+Defining \__char_codepoint_to_bytes_end: on line ...
 Defining \tl_if_head_eq_catcode:oNTF on line ...
 Defining \tl_lower_case:n on line ...
 Defining \tl_upper_case:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index ed3315d..c39ba5b 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -5840,6 +5840,13 @@ Defining \char_codepoint_to_bytes:n on line ...
 Defining \__char_codepoint_to_bytes_auxi:n on line ...
 Defining \__char_codepoint_to_bytes_auxii:Nnn on line ...
 Defining \__char_codepoint_to_bytes_auxiii:n on line ...
+Defining \__char_codepoint_to_bytes_outputi:nw on line ...
+Defining \__char_codepoint_to_bytes_outputii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiv:nw on line ...
+Defining \__char_codepoint_to_bytes_output:nnn on line ...
+Defining \__char_codepoint_to_bytes_output:fnn on line ...
+Defining \__char_codepoint_to_bytes_end: on line ...
 Defining \tl_if_head_eq_catcode:oNTF on line ...
 Defining \tl_lower_case:n on line ...
 Defining \tl_upper_case:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index adf021c..5f87317 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -5813,6 +5813,13 @@ Defining \char_codepoint_to_bytes:n on line ...
 Defining \__char_codepoint_to_bytes_auxi:n on line ...
 Defining \__char_codepoint_to_bytes_auxii:Nnn on line ...
 Defining \__char_codepoint_to_bytes_auxiii:n on line ...
+Defining \__char_codepoint_to_bytes_outputi:nw on line ...
+Defining \__char_codepoint_to_bytes_outputii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiii:nw on line ...
+Defining \__char_codepoint_to_bytes_outputiv:nw on line ...
+Defining \__char_codepoint_to_bytes_output:nnn on line ...
+Defining \__char_codepoint_to_bytes_output:fnn on line ...
+Defining \__char_codepoint_to_bytes_end: on line ...
 Defining \tl_if_head_eq_catcode:oNTF on line ...
 Defining \tl_lower_case:n on line ...
 Defining \tl_upper_case:n on line ...





More information about the latex3-commits mailing list