summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3str.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3str.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3str.dtx13
1 files changed, 6 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3str.dtx b/Master/texmf-dist/source/latex/l3kernel/l3str.dtx
index f7ab1f809a8..7e43436ecd5 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3str.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3str.dtx
@@ -37,7 +37,7 @@
\documentclass[full]{l3doc}
%</driver>
%<*driver|package>
-\GetIdInfo$Id: l3str.dtx 6325 2015-12-20 18:07:35Z joseph $
+\GetIdInfo$Id: l3str.dtx 6357 2016-01-03 08:42:55Z joseph $
{L3 Strings}
%</driver|package>
%<*driver>
@@ -1400,7 +1400,7 @@
% and everything else. The output is detokenized to allow data sharing
% with text-based case changing.
% \begin{macrocode}
-\cs_new:Npn \str_fold_case:n #1 { \@@_change_case:nn {#1} { fold } }
+\cs_new:Npn \str_fold_case:n #1 { \@@_change_case:nn {#1} { fold } }
\cs_new:Npn \str_lower_case:n #1 { \@@_change_case:nn {#1} { lower } }
\cs_new:Npn \str_upper_case:n #1 { \@@_change_case:nn {#1} { upper } }
\cs_generate_variant:Nn \str_fold_case:n { V }
@@ -1431,7 +1431,7 @@
\cs_new:Npn \@@_change_case_char:nN #1#2
{
\quark_if_recursion_tail_stop:N #2
- \cs_if_exist:cTF { c__unicode_ #1 _ #2 _tl }
+ \cs_if_exist:cTF { c__unicode_ #1 _ #2 _tl }
{ \tl_to_str:c { c__unicode_ #1 _ #2 _tl } }
{ \@@_change_case_char_aux:nN {#1} #2 }
\__str_change_case_loop:nw {#1}
@@ -1569,7 +1569,7 @@
% Set up to read each file. As they use C-style comments, thre is a need to
% deal with |#|. At the same time, spaces are important so they need to be
% picked up as they are important. Beyond that, the current category code
-% scheme works fine. With no I/O loop available, hard-code one that will work
+% scheme works fine. With no I/O loop available, hard-code one that will work
% quickly.
% \begin{macrocode}
\cs_set_protected:Npn \@@_map_inline:n #1
@@ -1610,16 +1610,15 @@
% \begin{macrocode}
\cs_set_protected:Npn \@@_parse:w #1#2 \q_stop
{
- \reverse_if:N \if:w \l_@@_hash_tl #1
+ \reverse_if:N \if:w \c_hash_str #1
\@@_parse_auxi:w #1#2 \q_stop
\else:
\if_int_compare:w \__str_if_eq_x:nn
- {#2} { ~Conditional~Mappings~ } = \c_zero
+ { \exp_not:n {#2} } { ~Conditional~Mappings~ } = \c_zero
\cs_set_protected:Npn \@@_parse:w ##1 \q_stop { }
\fi:
\fi:
}
- \cs_set_nopar:Npx \l_@@_hash_tl { \token_to_str:N # }
% \end{macrocode}
% Storing each exception is always done in the same way: create a constant
% token list which expands to exactly the mapping. These will have the