[latex3-commits] [git/LaTeX3-latex3-latex3] master: Make l3clist correctly unbrace items when braces are not needed (1efe91b)
Bruno Le Floch
bruno at le-floch.fr
Fri Apr 20 07:30:13 CEST 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/1efe91b94181838ef09bfa4a87436ae63ffba234
>---------------------------------------------------------------
commit 1efe91b94181838ef09bfa4a87436ae63ffba234
Author: Bruno Le Floch <bruno at le-floch.fr>
Date: Fri Apr 20 01:30:13 2018 -0400
Make l3clist correctly unbrace items when braces are not needed
When adding items to a comma list, spaces were removed but not braces,
even for items that did not need them. Now the treatment is consistent
by having a common (internal) function to test whether an item should
be braced or not. For instance,
\clist_set:Nn \l_tmpa_clist { {a} }
\clist_if_in:NnTF \l_tmpa_clist { a } {true} {false}
gave false but now gives true.
>---------------------------------------------------------------
1efe91b94181838ef09bfa4a87436ae63ffba234
l3kernel/l3clist.dtx | 446 +++++++++++++++++++------------
l3kernel/testfiles/m3clist002.lvt | 7 -
l3kernel/testfiles/m3clist002.tlg | 34 +--
l3kernel/testfiles/m3clist006.lvt | 12 +-
l3kernel/testfiles/m3clist006.tlg | 8 +
l3kernel/testfiles/m3expl001.luatex.tlg | 18 +-
l3kernel/testfiles/m3expl001.ptex.tlg | 18 +-
l3kernel/testfiles/m3expl001.tlg | 18 +-
l3kernel/testfiles/m3expl001.uptex.tlg | 18 +-
l3kernel/testfiles/m3expl001.xetex.tlg | 18 +-
l3kernel/testfiles/m3expl003.luatex.tlg | 18 +-
l3kernel/testfiles/m3expl003.ptex.tlg | 18 +-
l3kernel/testfiles/m3expl003.tlg | 18 +-
l3kernel/testfiles/m3expl003.uptex.tlg | 18 +-
l3kernel/testfiles/m3expl003.xetex.tlg | 18 +-
15 files changed, 415 insertions(+), 272 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --textconv --cc 1efe91b94181838ef09bfa4a87436ae63ffba234
More information about the latex3-commits
mailing list