[latex3-commits] [git/LaTeX3-latex3-latex3] peek-refactor: Add a comment (1be7c1618)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Jan 11 14:20:40 CET 2022
Repository : https://github.com/latex3/latex3
On branch : peek-refactor
Link : https://github.com/latex3/latex3/commit/1be7c16184e5b7e5de8d9d6ab3582dd858b94e0d
>---------------------------------------------------------------
commit 1be7c16184e5b7e5de8d9d6ab3582dd858b94e0d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Jan 11 13:20:40 2022 +0000
Add a comment
>---------------------------------------------------------------
1be7c16184e5b7e5de8d9d6ab3582dd858b94e0d
l3kernel/l3token.dtx | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/l3kernel/l3token.dtx b/l3kernel/l3token.dtx
index f8ce5123b..0ad12ab9f 100644
--- a/l3kernel/l3token.dtx
+++ b/l3kernel/l3token.dtx
@@ -2887,6 +2887,11 @@ end
\exp_after:wN \peek_after:Nw \exp_after:wN \@@_remove_filler:
\exp:w \exp_end_continue_f:w
}
+% \end{macrocode}
+% Here we can nest conditionals as \cs{l_peek_token} is only skipped over in
+% the nested one if it's a space: no problems with conditionals or outer
+% tokens.
+% \begin{macrocode}
\cs_new_protected:Npn \@@_remove_filler:
{
\if_catcode:w \exp_not:N \l_peek_token \c_space_token
More information about the latex3-commits
mailing list.