diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex-dev/l3kernel/expl3-code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex-dev/l3kernel/expl3-code.tex | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex-dev/l3kernel/expl3-code.tex b/Master/texmf-dist/tex/latex-dev/l3kernel/expl3-code.tex index cd26bfb47d0..b90d7551a9c 100644 --- a/Master/texmf-dist/tex/latex-dev/l3kernel/expl3-code.tex +++ b/Master/texmf-dist/tex/latex-dev/l3kernel/expl3-code.tex @@ -75,7 +75,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2024-05-08}% +\def\ExplFileDate{2024-06-19}% \begingroup \def\next{\endgroup}% \expandafter\ifx\csname PackageError\endcsname\relax @@ -8385,8 +8385,8 @@ Type H <return> for immediate help}\def~{\errmessage{% \cs_new:Npn \__clist_remove_all: { \exp_after:wN \__clist_remove_all:w \__clist_tmp:w , } \cs_new:Npn \__clist_remove_all:w #1 , \s__clist_mark , #2 , { \exp_not:n {#1} } -\cs_generate_variant:Nn \clist_remove_all:Nn { c , NV , cV } -\cs_generate_variant:Nn \clist_gremove_all:Nn { c , NV , cV } +\cs_generate_variant:Nn \clist_remove_all:Nn { c , NV , cV , Ne , ce } +\cs_generate_variant:Nn \clist_gremove_all:Nn { c , NV , cV , Ne , ce } \cs_new_protected:Npn \clist_reverse:N #1 { \__kernel_tl_set:Nx #1 { \exp_args:No \clist_reverse:n {#1} } } \cs_new_protected:Npn \clist_greverse:N #1 @@ -13750,8 +13750,8 @@ Type H <return> for immediate help}\def~{\errmessage{% \str_new:N \l__keys_property_str \bool_new:N \l__keys_selective_bool \bool_new:N \l__keys_exclude_bool -\seq_new:N \l__keys_selective_clist -\seq_new:N \l__keys_tmp_clist +\clist_new:N \l__keys_selective_clist +\clist_new:N \l__keys_tmp_clist \clist_new:N \l__keys_unused_clist \tl_new:N \l_keys_value_tl \bool_new:N \l__keys_tmp_bool @@ -13859,8 +13859,7 @@ Type H <return> for immediate help}\def~{\errmessage{% { \bool_if:NTF \l__keys_no_value_bool { - \exp_after:wN \__keys_define_code:w - \l__keys_property_str \s__keys_stop + \__keys_define_code:TF { \use:c { \c__keys_props_root_str \l__keys_property_str } } { \msg_error:nnee { keys } { property-requires-value } @@ -13869,8 +13868,18 @@ Type H <return> for immediate help}\def~{\errmessage{% } { \use:c { \c__keys_props_root_str \l__keys_property_str } {#1} } } -\exp_last_unbraced:NNNNo - \cs_new:Npn \__keys_define_code:w #1 \c_colon_str #2 \s__keys_stop +\cs_new:Npe \__keys_define_code:TF + { + \exp_not:N \exp_after:wN \exp_not:N \__keys_define_code:w + \exp_not:N \l__keys_property_str + \c_colon_str \c_colon_str + \exp_not:N \s__keys_stop + } +\use:e + { + \cs_new:Npn \exp_not:N \__keys_define_code:w + #1 \c_colon_str #2 \c_colon_str #3 \exp_not:N \s__keys_stop + } { \tl_if_empty:nTF {#2} } \cs_new_protected:Npn \__keys_bool_set:Nn #1#2 { \__keys_bool_set:Nnnn #1 {#2} { true } { false } } @@ -25024,21 +25033,21 @@ Type H <return> for immediate help}\def~{\errmessage{% { \cs_set_nopar:Npe \l__tl_peek_code_tl { - \tex_let:D \exp_not:N #1 \scan_stop: - \exp_not:o \l__tl_peek_code_tl + \tex_let:D \exp_not:N #1 \l__tl_peek_code_tl + \l__tl_peek_code_tl { \exp_not:n { \__kernel_exp_not:w \exp_after:wN } { \exp_not:N \exp_not:N \exp_not:N #1 } } \exp_after:wN \__tl_peek_analysis_exp_aux:Nw - \token_to_str:N #1 \prg_do_nothing: \s__tl + \token_to_str:N #1 { } \s__tl } \l__tl_peek_code_tl } \cs_new:Npe \__tl_peek_analysis_exp_aux:Nw #1#2 \s__tl { - \exp_not:N \if:w \scan_stop: #2 \scan_stop: - { \exp_not:N \int_value:w `#1 } \token_to_str:N D + \exp_not:N \if_meaning:w \scan_stop: #2 \scan_stop: + { \exp_not:N \int_value:w `#1 ~ } \token_to_str:N D \exp_not:N \else: { -1 } 0 \exp_not:N \fi: |