[latex3-commits] [l3svn] 02/02: Corrected the definition of 'explicit space' by deleting the requirement that it has character code 32.
Bruno Le Floch
blflatex at gmail.com
Tue Sep 26 17:08:32 CEST 2017
I really don't have time to do extensive tests, but that sounds wrong.
\lccode32=`*
\def\grabnshow#1{\showtokens{|#1|}}
\lowercase\expandafter{\expandafter\grabnshow\space\relax}
\uppercase\expandafter{\expandafter\grabnshow\space\relax}
\bye
shows |*| then |\relax|, indicating that charcode=32 is important.
B
On 09/26/2017 04:01 AM, noreply at latex-project.org wrote:
> This is an automated email from the git hooks/post-receive script.
>
> joseph pushed a commit to branch master
> in repository l3svn.
>
> commit 53beb42693244547173d4731e7e397690d4c42a6
> Author: Evan Aad <oddeveneven at gmail.com>
> Date: Tue Sep 26 10:22:10 2017 +0300
>
> Corrected the definition of 'explicit space' by deleting the requirement that it has character code 32.
> ---
> l3kernel/l3tl.dtx | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/l3kernel/l3tl.dtx b/l3kernel/l3tl.dtx
> index d1d7fb0..d3db6b2 100644
> --- a/l3kernel/l3tl.dtx
> +++ b/l3kernel/l3tl.dtx
> @@ -868,7 +868,7 @@
> % \cs{tl_tail:n} \Arg{token list}
> % \end{syntax}
> % Discards all leading explicit space characters
> -% (explicit tokens with character code~$32$ and category code~$10$)
> +% (tokens with category code~$10$)
> % and the first \meta{item} in the \meta{token list}, and leaves the
> % remaining tokens in the input stream. Thus for example
> % \begin{verbatim}
> @@ -945,7 +945,7 @@
> % Tests if the first \meta{token} in the \meta{token list}
> % is a normal \texttt{N}-type argument. In other words,
> % it is neither an explicit space character
> -% (explicit token with character code~$32$ and category code~$10$)
> +% (token with category code~$10$)
> % nor an explicit begin-group character
> % (with category code~1 and any character code). An empty
> % argument yields \texttt{false}, as it does not have a \enquote{normal}
> @@ -961,7 +961,7 @@
> % \end{syntax}
> % Tests if the first \meta{token} in the \meta{token list}
> % is an explicit space character
> -% (explicit token with character code~$12$ and category code~$10$).
> +% (token with category code~$10$).
> % In particular, the test is \texttt{false} if the \meta{token list}
> % starts with an implicit token such as \cs{c_space_token}, or if it
> % is empty.
>
More information about the latex3-commits
mailing list