[latex3-commits] [git/LaTeX3-latex3-latex3] main: put key names in braces (063af6f33)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Jan 10 14:45:55 CET 2022


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

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

commit 063af6f330ef8a3d809f3cb44eec4f32bfcfd8af
Author: Jonathan Spratte <jspratte at yahoo.de>
Date:   Sat Nov 13 22:41:11 2021 +0100

    put key names in braces


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

063af6f330ef8a3d809f3cb44eec4f32bfcfd8af
 l3kernel/l3prop.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3prop.dtx b/l3kernel/l3prop.dtx
index fb2c91ad9..6987e9d18 100644
--- a/l3kernel/l3prop.dtx
+++ b/l3kernel/l3prop.dtx
@@ -1112,7 +1112,7 @@
             }
       }
     \cs_new:Npn \@@_to_keyval_aux:nn #1#2
-      { , #1 =~ { \exp_not:n {#2} } }
+      { , ~ {#1} =~ { \exp_not:n {#2} } }
   }
 %    \end{macrocode}
 %   The other variant will iterate over the \meta{property list} and has to
@@ -1137,7 +1137,7 @@
       }
     \cs_new_eq:NN \@@_to_keyval_exp_after:wN \exp_after:wN
     \cs_new:Npn \@@_to_keyval_aux:nnw #1#2#3 \@@_to_keyval_exp_after:wN #4
-      { #3 \@@_to_keyval_exp_after:wN { #4 , #1 =~ {#2} } }
+      { #3 \@@_to_keyval_exp_after:wN { #4 , ~ {#1} =~ {#2} } }
   }
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list.