[latex3-commits] [l3svn] 02/02: One \tex_lowercase:D => \char_generate:nn
noreply at latex-project.org
noreply at latex-project.org
Fri Mar 25 18:17:47 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 f3c5623b1c3204d913aab15ba85d631d958efc75
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Mar 25 17:15:30 2016 +0000
One \tex_lowercase:D => \char_generate:nn
---
l3kernel/l3msg.dtx | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/l3kernel/l3msg.dtx b/l3kernel/l3msg.dtx
index 82ad7b0..73c0d9e 100644
--- a/l3kernel/l3msg.dtx
+++ b/l3kernel/l3msg.dtx
@@ -2015,9 +2015,8 @@
% (with category code $7$) and keep tokens until that space character,
% dropping everything else until \cs{q_stop}. The \cs{exp_end:} prevents
% losing braces around the user-inserted text if any, and stops the
-% expansion of \cs{exp:w}. One group is used to keep the settings
-% for \tn{lowercase} local and the other one is used to prevent
-% |\LaTeX3~error:| from being equal to \cs{scan_stop:}.
+% expansion of \cs{exp:w}. The group is used to prevent
+% |\LaTeX3~error:| from being globally equal to \cs{scan_stop:}.
% \begin{macrocode}
\group_begin:
\cs_set_protected:Npn \@@_tmp:w #1#2
@@ -2034,11 +2033,9 @@
}
\cs_new:Npn \@@_expandable_error:w ##1 #1 ##2 #1 {##1}
}
-\group_begin:
-\char_set_catcode_math_superscript:N \^
-\char_set_lccode:nn { `^ } { `\ }
-\tex_lowercase:D
- { \group_end: \exp_args:NNc \@@_tmp:w ^ } { LaTeX3~error: }
+\exp_args:NNnx \exp_args:Nx \@@_tmp:w
+ { \char_generate:nn { `\ } { 7 } }
+ { \exp_not:c { LaTeX3~error: } }
% \end{macrocode}
% \end{macro}
% \end{macro}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list