[latex3-commits] [git/LaTeX3-latex3-latex3] cs-delimited-args: Revert last two commits (34a92f7d^..45bca730) (b88f6328c)

PhelypeOleinik tex.phelype at gmail.com
Thu Feb 27 11:34:47 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : cs-delimited-args
Link       : https://github.com/latex3/latex3/commit/b88f6328c6b276c4f9a5579ee767cc6d8a04c5c8

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

commit b88f6328c6b276c4f9a5579ee767cc6d8a04c5c8
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Thu Feb 27 07:34:47 2020 -0300

    Revert last two commits (34a92f7d^..45bca730)
    
    For obvious reasons


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

b88f6328c6b276c4f9a5579ee767cc6d8a04c5c8
 l3packages/xfp/testfiles/xfp000.tlg       |  1 -
 l3packages/xparse/testfiles/xparse000.tlg |  1 -
 l3packages/xparse/xparse.dtx              | 18 +++++++-----------
 3 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/l3packages/xfp/testfiles/xfp000.tlg b/l3packages/xfp/testfiles/xfp000.tlg
index dbb426e17..35bb391df 100644
--- a/l3packages/xfp/testfiles/xfp000.tlg
+++ b/l3packages/xfp/testfiles/xfp000.tlg
@@ -6,7 +6,6 @@ Package: xparse ....-..-.. L3 Experimental document command parser
 \l__xparse_current_arg_int=\count...
 \g__xparse_grabber_int=\count...
 \l__xparse_m_args_int=\count...
-\l__xparse_tmp_int=\count...
 \l__xparse_v_nesting_int=\count...
 )
 Package: xfp ....-..-.. L3 Floating point unit
diff --git a/l3packages/xparse/testfiles/xparse000.tlg b/l3packages/xparse/testfiles/xparse000.tlg
index a77d33369..81f95f3d6 100644
--- a/l3packages/xparse/testfiles/xparse000.tlg
+++ b/l3packages/xparse/testfiles/xparse000.tlg
@@ -6,6 +6,5 @@ Package: xparse ....-..-.. L3 Experimental document command parser
 \l__xparse_current_arg_int=\count...
 \g__xparse_grabber_int=\count...
 \l__xparse_m_args_int=\count...
-\l__xparse_tmp_int=\count...
 \l__xparse_v_nesting_int=\count...
 )
diff --git a/l3packages/xparse/xparse.dtx b/l3packages/xparse/xparse.dtx
index 4a9bfe19e..18f43242d 100644
--- a/l3packages/xparse/xparse.dtx
+++ b/l3packages/xparse/xparse.dtx
@@ -1152,11 +1152,10 @@
 %    \end{macrocode}
 % \end{variable}
 %
-% \begin{variable}{\l_@@_tmp_int, \l_@@_tmp_prop, \l_@@_tmpa_tl, \l_@@_tmpb_tl}
+% \begin{variable}{\l_@@_tmp_prop, \l_@@_tmpa_tl, \l_@@_tmpb_tl}
 % \begin{macro}{\@@_tmp:w}
 %   Scratch space.
 %    \begin{macrocode}
-\int_new:N \l_@@_tmp_int
 \prop_new:N \l_@@_tmp_prop
 \tl_new:N \l_@@_tmpa_tl
 \tl_new:N \l_@@_tmpb_tl
@@ -4297,15 +4296,12 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_token_if_cs:NTF #1
   {
-    \int_set_eq:NN \l_@@_tmp_int \tex_escapechar:D
-    \int_set:Nn \tex_escapechar:D { 92 }
-    \exp_args:Nx \tl_if_empty:nTF
-        {
-          \int_set_eq:NN \tex_escapechar:D \l_@@_tmp_int
-          \exp_args:No \str_tail:n { \token_to_str:N #1 }
-        }
-      { \use_ii:nn }
-      { \use_i:nn }
+    \group_begin:
+      \int_set:Nn \tex_escapechar:D { 92 }
+      \exp_args:Nx \tl_if_empty:nTF
+          { \exp_args:No \str_tail:n { \token_to_str:N #1 } }
+        { \group_end: \use_ii:nn }
+        { \group_end: \use_i:nn }
   }
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list.