[latex3-commits] [latex3/latex3] main: Update fallback definitions for `\tl_case:Nnn` and `\tl_case:cnn` (28fde34f9)

github at latex-project.org github at latex-project.org
Sat Nov 25 10:04:25 CET 2023


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

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

commit 28fde34f93037507fd03d3c0869d1df6ee137bc8
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Sat Nov 25 06:26:59 2023 +0800

    Update fallback definitions for `\tl_case:Nnn` and `\tl_case:cnn`
    
    `\tl_case:NnF` and `\tl_case:cnF` are deprecated too, hence should be
    avoided in fallback definitions.


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

28fde34f93037507fd03d3c0869d1df6ee137bc8
 l3kernel/l3deprecation.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3deprecation.dtx b/l3kernel/l3deprecation.dtx
index edbfdd0dd..45f7abdc7 100644
--- a/l3kernel/l3deprecation.dtx
+++ b/l3kernel/l3deprecation.dtx
@@ -396,9 +396,9 @@
 \@@_old_protected:Nnn \tl_show_analysis:n
   { \tl_analysis_show:n } { 2020-01-01 }
 \@@_old:Nnn \tl_case:cnn
-  { \tl_case:cnF } { 2015-07-14 }
+  { \exp_args:Nc \token_case_meaning:NnF } { 2015-07-14 }
 \@@_old:Nnn \tl_case:Nnn
-  { \tl_case:NnF } { 2015-07-14 }
+  { \token_case_meaning:NnF } { 2015-07-14 }
 \@@_old_protected:Nnn \tl_gset_from_file:Nnn
   { \file_get:nnN } { 2021-07-01 }
 \@@_old_protected:Nnn \tl_gset_from_file_x:Nnn





More information about the latex3-commits mailing list.