diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3basics.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3basics.dtx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3basics.dtx b/Master/texmf-dist/source/latex/l3kernel/l3basics.dtx index 7f103c2e48f..d9e9e05a102 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3basics.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3basics.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2022-06-16} +% \date{Released 2022-07-01} % % \maketitle % @@ -850,22 +850,22 @@ % \end{texnote} % \end{function} % -% \begin{function}[EXP, added = 2019-02-27]{\cs_argument_spec:N} +% \begin{function}[EXP, added = 2022-06-24]{\cs_parameter_spec:N} % \begin{syntax} -% \cs{cs_argument_spec:N} \meta{token} +% \cs{cs_parameter_spec:N} \meta{token} % \end{syntax} % If the \meta{token} is a macro, this function leaves the primitive -% \TeX{} argument specification in input stream as a string of +% \TeX{} parameter specification in input stream as a string of % character tokens of category code $12$ (with spaces having category % code $10$). Thus for example % \begin{verbatim} % \cs_set:Npn \next:nn #1#2 { x #1 y #2 } -% \cs_argument_spec:N \next:nn +% \cs_parameter_spec:N \next:nn % \end{verbatim} % leaves |#1#2| in the input stream. If the \meta{token} is % not a macro then \cs{scan_stop:} is left in the input stream. % \begin{texnote} -% If the argument specification contains the string |->|, then the +% If the parameter specification contains the string |->|, then the % function produces incorrect results. % \end{texnote} % \end{function} @@ -884,7 +884,7 @@ % leaves \verb*|x#1 y#2| in the input stream. If the \meta{token} is % not a macro then \cs{scan_stop:} is left in the input stream. % \begin{texnote} -% If the argument specification contains the string |->|, then the +% If the parameter specification contains the string |->|, then the % function produces incorrect results. % \end{texnote} % \end{function} @@ -3191,14 +3191,14 @@ % \subsection{Decomposing a macro definition} % % \begin{macro}{\cs_prefix_spec:N} -% \begin{macro}{\cs_argument_spec:N} +% \begin{macro}{\cs_parameter_spec:N} % \begin{macro}{\cs_replacement_spec:N} % \begin{macro}{\@@_prefix_arg_replacement:wN} % We sometimes want to test if a control sequence can be expanded to % reveal a hidden value. However, we cannot just expand the macro % blindly as it may have arguments and none might be % present. Therefore we define these functions to pick either the -% prefix(es), the argument specification, or the replacement text from +% prefix(es), the parameter specification, or the replacement text from % a macro. All of this information is returned as characters with % catcode~$12$. If the token in question isn't a macro, the token % \cs{scan_stop:} is returned instead. @@ -3218,7 +3218,7 @@ } { \scan_stop: } } -\cs_new:Npn \cs_argument_spec:N #1 +\cs_new:Npn \cs_parameter_spec:N #1 { \token_if_macro:NTF #1 { |