[latex3-commits] [l3svn] 02/02: Fix catcode generation in \tl_lower_case:n, etc.
noreply at latex-project.org
noreply at latex-project.org
Wed Mar 2 10:31:55 CET 2016
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
commit 61c6dc46cf884af4418d461a21c5ded9233fbe80
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Mar 2 09:30:38 2016 +0000
Fix catcode generation in \tl_lower_case:n, etc.
The \Uchar primitive generates catcode-12 tokens so is no
good here: we need \Ucharcat or equivalent.
---
l3kernel/l3candidates.dtx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index cdf3308..cf28c3b 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -3346,7 +3346,9 @@
\int_compare:nNnTF { \use:c { @@_lookup_ #1 :N } #2 } = { 0 }
{ \exp_stop_f: #2 }
{
- \utex_char:D \use:c { @@_lookup_ #1 :N } #2
+ \char_generate:nn
+ { \use:c { @@_lookup_ #1 :N } #2 }
+ { \char_value_catcode:n { `#2 } }
}
}
\cs_new_protected:Npn \@@_lookup_lower:N #1 { \tex_lccode:D `#1 }
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list