[latex3-commits] [git/LaTeX3-latex3-latex3] main: Drop a redundant variant (e1e2f14b4)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Apr 19 11:52:03 CEST 2022


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

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

commit e1e2f14b413247c2c87b523d316584ad23b86fe6
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Apr 19 10:52:03 2022 +0100

    Drop a redundant variant


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

e1e2f14b413247c2c87b523d316584ad23b86fe6
 l3backend/l3backend-color.dtx           | 6 ++----
 l3kernel/testfiles/m3expl001.luatex.tlg | 1 -
 l3kernel/testfiles/m3expl001.tlg        | 1 -
 l3kernel/testfiles/m3expl001.xetex.tlg  | 1 -
 l3kernel/testfiles/m3expl003.luatex.tlg | 1 -
 l3kernel/testfiles/m3expl003.tlg        | 1 -
 l3kernel/testfiles/m3expl003.xetex.tlg  | 1 -
 7 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/l3backend/l3backend-color.dtx b/l3backend/l3backend-color.dtx
index 443c54c16..63868a460 100644
--- a/l3backend/l3backend-color.dtx
+++ b/l3backend/l3backend-color.dtx
@@ -254,7 +254,7 @@
 % \end{variable}
 % \end{macro}
 %
-% \begin{macro}{\__kernel_color_backend_stack_push:nn, \__kernel_color_backend_stack_push:nx}
+% \begin{macro}{\__kernel_color_backend_stack_push:nn}
 % \begin{macro}{\__kernel_color_backend_stack_pop:n}
 %   Simple enough but needs a version check.
 %    \begin{macrocode}
@@ -267,7 +267,6 @@
         push ~ (#2)
       }
   }
-\cs_generate_variant:Nn \__kernel_color_backend_stack_push:nn { nx }
 \cs_new_protected:Npn \__kernel_color_backend_stack_pop:n #1
   {
     \__kernel_backend_literal:x
@@ -310,7 +309,7 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{\__kernel_color_backend_stack_push:nn, \__kernel_color_backend_stack_push:nx}
+% \begin{macro}{\__kernel_color_backend_stack_push:nn}
 % \begin{macro}{\__kernel_color_backend_stack_pop:n}
 %    \begin{macrocode}
 \cs_new_protected:Npn \__kernel_color_backend_stack_push:nn #1#2
@@ -323,7 +322,6 @@
 %</pdftex>
       \int_eval:n {#1} ~ push ~ {#2}
   }
-\cs_generate_variant:Nn \__kernel_color_backend_stack_push:nn { nx }
 \cs_new_protected:Npn \__kernel_color_backend_stack_pop:n #1
   {
 %<*luatex>
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index eb85d28ed..d1e6dced5 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -33,7 +33,6 @@ Defining \l__color_backend_stack_int on line ...
 \l__color_backend_stack_int=\count...
 Defining \__kernel_color_backend_stack_init:Nnn on line ...
 Defining \__kernel_color_backend_stack_push:nn on line ...
-Defining \__kernel_color_backend_stack_push:nx on line ...
 Defining \__kernel_color_backend_stack_pop:n on line ...
 Defining \l__color_backend_fill_tl on line ...
 Defining \l__color_backend_stroke_tl on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index c7b68b0a4..d0c160d1f 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -33,7 +33,6 @@ Defining \l__color_backend_stack_int on line ...
 \l__color_backend_stack_int=\count...
 Defining \__kernel_color_backend_stack_init:Nnn on line ...
 Defining \__kernel_color_backend_stack_push:nn on line ...
-Defining \__kernel_color_backend_stack_push:nx on line ...
 Defining \__kernel_color_backend_stack_pop:n on line ...
 Defining \l__color_backend_fill_tl on line ...
 Defining \l__color_backend_stroke_tl on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index 1b795ca83..f8c4f7a0b 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -35,7 +35,6 @@ Defining \__kernel_color_backend_stack_init:Nnn on line ..
 Defining \c__color_backend_main_stack_int on line ...
 Defining \main at pdfcolorstack on line ...
 Defining \__kernel_color_backend_stack_push:nn on line ...
-Defining \__kernel_color_backend_stack_push:nx on line ...
 Defining \__kernel_color_backend_stack_pop:n on line ...
 Defining \l__color_backend_fill_tl on line ...
 Defining \l__color_backend_stroke_tl on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index eb85d28ed..d1e6dced5 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -33,7 +33,6 @@ Defining \l__color_backend_stack_int on line ...
 \l__color_backend_stack_int=\count...
 Defining \__kernel_color_backend_stack_init:Nnn on line ...
 Defining \__kernel_color_backend_stack_push:nn on line ...
-Defining \__kernel_color_backend_stack_push:nx on line ...
 Defining \__kernel_color_backend_stack_pop:n on line ...
 Defining \l__color_backend_fill_tl on line ...
 Defining \l__color_backend_stroke_tl on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index c7b68b0a4..d0c160d1f 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -33,7 +33,6 @@ Defining \l__color_backend_stack_int on line ...
 \l__color_backend_stack_int=\count...
 Defining \__kernel_color_backend_stack_init:Nnn on line ...
 Defining \__kernel_color_backend_stack_push:nn on line ...
-Defining \__kernel_color_backend_stack_push:nx on line ...
 Defining \__kernel_color_backend_stack_pop:n on line ...
 Defining \l__color_backend_fill_tl on line ...
 Defining \l__color_backend_stroke_tl on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index 1b795ca83..f8c4f7a0b 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -35,7 +35,6 @@ Defining \__kernel_color_backend_stack_init:Nnn on line ..
 Defining \c__color_backend_main_stack_int on line ...
 Defining \main at pdfcolorstack on line ...
 Defining \__kernel_color_backend_stack_push:nn on line ...
-Defining \__kernel_color_backend_stack_push:nx on line ...
 Defining \__kernel_color_backend_stack_pop:n on line ...
 Defining \l__color_backend_fill_tl on line ...
 Defining \l__color_backend_stroke_tl on line ...





More information about the latex3-commits mailing list.