diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3expan.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3expan.dtx | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx b/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx index 06c78048ad1..fe85c98bd5a 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3expan.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2019-09-30} +% \date{Released 2019-10-02} % % \maketitle % @@ -2556,7 +2556,8 @@ % \cs{cs_new_protected:cpn} \cs{use:x} (for protected) or % \cs{cs_new:cpn} \cs{tex_expanded:D} (expandable) and the signature. If |p| % appears in the signature, or if the function to be defined is -% expandable and the primitive \tn{expanded} is not available, call +% expandable and the primitive \tn{expanded} is not available, or if there +% are more than $8$ arguments, call % some fall-back code that just puts the appropriate |\::| commands. % Otherwise, call \cs{@@_generate_internal_one_go:NNn} to construct % the \cs[no-index]{exp_args:N\dots} function as a macro taking up to @@ -2588,7 +2589,15 @@ { \cs_new_protected:Npn \@@_generate_internal_variant:NNn ##1##2##3 { - \@@_generate_internal_test:Nw ##2 ##3 + \if_catcode:w X \use_none:nnnnnnnn ##3 + \prg_do_nothing: \prg_do_nothing: \prg_do_nothing: + \prg_do_nothing: \prg_do_nothing: \prg_do_nothing: + \prg_do_nothing: \prg_do_nothing: X + \exp_after:wN \@@_generate_internal_test:Nw \exp_after:wN ##2 + \else: + \exp_after:wN \@@_generate_internal_test_aux:w \exp_after:wN #1 + \fi: + ##3 \q_mark { \use:x |