[latex3-commits] [latex3/latex3] main: Remove \seq_gset_from_inline_x:Nnn from seq shuffle code (5aaa57b22)

github at latex-project.org github at latex-project.org
Fri May 5 14:09:28 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/5aaa57b226d5aadbc48598ec30cf6af504790d93

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

commit 5aaa57b226d5aadbc48598ec30cf6af504790d93
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri May 5 13:09:05 2023 +0100

    Remove \seq_gset_from_inline_x:Nnn from seq shuffle code


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

5aaa57b226d5aadbc48598ec30cf6af504790d93
 l3kernel/l3seq.dtx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/l3kernel/l3seq.dtx b/l3kernel/l3seq.dtx
index 37fd20b9b..52e2589aa 100644
--- a/l3kernel/l3seq.dtx
+++ b/l3kernel/l3seq.dtx
@@ -1625,9 +1625,12 @@
           \cs_gset_eq:NN \@@_item:n \@@_shuffle_item:n
           #2
           \@@_pop_item_def:
-          \seq_gset_from_inline_x:Nnn \g_@@_internal_seq
-            { \int_step_function:nN { \l_@@_internal_a_int } }
-            { \tex_the:D \tex_toks:D ##1 }
+          \seq_gclear:N \g_@@_internal_seq
+          \int_step_inline:nn \l_@@_internal_a_int
+            {
+              \seq_gput_right:Nx \g_@@_internal_seq
+                { \tex_the:D \tex_toks:D ##1 }
+            }
         \group_end:
         #1 #2 \g_@@_internal_seq
         \seq_gclear:N \g_@@_internal_seq





More information about the latex3-commits mailing list.