diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3packages/xparse')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty index 96a9229784e..23b13604691 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty @@ -32,7 +32,7 @@ }% \endinput } -\ProvidesExplPackage{xparse}{2019-05-28}{} +\ProvidesExplPackage{xparse}{2019-10-11}{} {L3 Experimental document command parser} \tl_new:N \l__xparse_arg_spec_tl \tl_new:N \l__xparse_args_tl @@ -341,9 +341,13 @@ \tl_put_right:No \l__xparse_args_ii_tl { \exp_after:wN { \ProcessedArgument } } } -\cs_new_protected:Npn \__xparse_args_process_aux:n - { \exp_args:No \__xparse_args_process_aux:nn { \ProcessedArgument } } -\cs_new_protected:Npn \__xparse_args_process_aux:nn #1#2 { #2 {#1} } +\cs_new_protected:Npn \__xparse_args_process_aux:n #1 + { + \cs_generate_from_arg_count:NNnn \__xparse_tmp:w \cs_set:Npn + { \tl_count:N \l__xparse_args_tl } {#1} + \exp_args:NNNo \exp_after:wN \__xparse_tmp:w \l__xparse_args_tl + { \ProcessedArgument } + } \cs_new:Npn \__xparse_start_expandable:nNNNNn #1#2#3#4#5#6 { #6 \__xparse_end_expandable:NNw #5 #4 \q__xparse #2#3 } \cs_new:Npn \__xparse_end_expandable:NNw #1#2 |