[latex3-commits] [git/LaTeX3-latex3-latex3] main: Internal rename (389a4587b)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Nov 25 21:08:26 CET 2021


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

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

commit 389a4587b61bb786b917e0f9f00dd9d331316646
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Nov 25 20:08:26 2021 +0000

    Internal rename
    
    Preparation for LaTeX2e option handling.


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

389a4587b61bb786b917e0f9f00dd9d331316646
 l3kernel/l3keys.dtx | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 809b52a02..4add41fe5 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -1483,7 +1483,7 @@
 %     \c_@@_groups_root_str  ,
 %     \c_@@_inherit_root_str  ,
 %     \c_@@_type_root_str    ,
-%     \c_@@_validate_root_str
+%     \c_@@_check_root_str
 %   }
 %   Various storage areas for the different data which make up keys.
 %    \begin{macrocode}
@@ -1492,7 +1492,7 @@
 \str_const:Nn \c_@@_groups_root_str   { key~groups~>~ }
 \str_const:Nn \c_@@_inherit_root_str  { key~inherit~>~ }
 \str_const:Nn \c_@@_type_root_str     { key~type~>~ }
-\str_const:Nn \c_@@_validate_root_str { key~validate~>~ }
+\str_const:Nn \c_@@_check_root_str    { key~check~>~ }
 %    \end{macrocode}
 % \end{variable}
 %
@@ -2078,7 +2078,7 @@
 \cs_new_protected:Npn \@@_undefine:
   {
     \clist_map_inline:nn
-      { code , default , groups , inherit , type , validate }
+      { code , default , groups , inherit , type , check }
       {
         \cs_set_eq:cN
           { \tl_use:c { c_@@_ ##1 _root_str } \l_keys_path_str }
@@ -2089,7 +2089,7 @@
 % \end{macro}
 %
 % \begin{macro}{\@@_value_requirement:nn}
-% \begin{macro}{\@@_validate_forbidden:, \@@_validate_required:}
+% \begin{macro}{\@@_check_forbidden:, \@@_check_required:}
 %   Validating key input is done using a second function which runs before
 %   the main key code. Setting that up means setting it equal to a generic
 %   stub which does the check. This approach makes the lookup very fast at
@@ -2103,17 +2103,17 @@
         { true }
           {
             \cs_set_eq:cc
-              { \c_@@_validate_root_str \l_keys_path_str }
-              { @@_validate_ #1 : }
+              { \c_@@_check_root_str \l_keys_path_str }
+              { @@_check_ #1 : }
           }
         { false }
           {
             \cs_if_eq:ccT
-              { \c_@@_validate_root_str \l_keys_path_str }
-              { @@_validate_ #1 : }
+              { \c_@@_check_root_str \l_keys_path_str }
+              { @@_check_ #1 : }
               {
                 \cs_set_eq:cN
-                  { \c_@@_validate_root_str \l_keys_path_str }
+                  { \c_@@_check_root_str \l_keys_path_str }
                   \tex_undefined:D
               }
           }
@@ -2124,7 +2124,7 @@
           { .value_ #1 :n }
       }
   }
-\cs_new_protected:Npn \@@_validate_forbidden:
+\cs_new_protected:Npn \@@_check_forbidden:
   {
     \bool_if:NF \l_@@_no_value_bool
       {
@@ -2133,7 +2133,7 @@
         \use_none:nnn
       }
   }
-\cs_new_protected:Npn \@@_validate_required:
+\cs_new_protected:Npn \@@_check_required:
   {
     \bool_if:NT \l_@@_no_value_bool
       {
@@ -2986,7 +2986,7 @@
   {
     \cs_if_exist:cTF { \c_@@_code_root_str \l_keys_path_str }
       {
-        \cs_if_exist_use:c { \c_@@_validate_root_str \l_keys_path_str }
+        \cs_if_exist_use:c { \c_@@_check_root_str \l_keys_path_str }
         \@@_execute:no \l_keys_path_str \l_keys_value_tl
       }
       {
@@ -3010,7 +3010,7 @@
           { \c_@@_code_root_str ##1 / \l_keys_key_str }
           {
             \str_set:Nn \l_@@_inherit_str {##1}
-            \cs_if_exist_use:c { \c_@@_validate_root_str ##1 / \l_keys_key_str }
+            \cs_if_exist_use:c { \c_@@_check_root_str ##1 / \l_keys_key_str }
             \@@_execute:no { ##1 / \l_keys_key_str } \l_keys_value_tl
             \clist_map_break:n \use_none:n
           }





More information about the latex3-commits mailing list.