diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2012-10-06 09:35:36 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2012-10-06 09:35:36 +0000 |
commit | c7ecdfcf96387471158add680158a20455c33119 (patch) | |
tree | 6bdb0001b0d2c8ccdbfebb327af8869647873a70 /Master/texmf-dist/tex | |
parent | f9ceacdd956350b95fd9aaed33b4a932ae789bc0 (diff) |
l3experimental update
git-svn-id: svn://tug.org/texlive/trunk@27900 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
3 files changed, 25 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex-trace.sty b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex-trace.sty index 7b31ebc4613..156d2c1393f 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex-trace.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex-trace.sty @@ -46,7 +46,7 @@ %% %% ----------------------------------------------------------------------- \RequirePackage{expl3} -\GetIdInfo$Id: l3regex.dtx 3940 2012-07-09 00:41:44Z bruno $ +\GetIdInfo$Id: l3regex.dtx 4219 2012-09-09 13:28:51Z bruno $ {L3 Experimental regular expressions} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} @@ -1349,14 +1349,14 @@ \__regex_show_push:n { ~ } #1 \__tl_build_end: - \__msg_show_variable:x { > Compiled~regex~#2: \l__regex_internal_a_tl } + \__msg_show_variable:n { >~Compiled~regex~#2: \l__regex_internal_a_tl } } \cs_new_protected:Npn \__regex_show_one:n #1 { \int_incr:N \l__regex_show_lines_int \__tl_build_one:x { - \iow_newline: + \exp_not:N \\ \seq_map_function:NN \l__regex_show_prefix_seq \use:n #1 } diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex.sty b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex.sty index 2ba86a82c86..eba57ade74e 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3regex.sty @@ -46,7 +46,7 @@ %% %% ----------------------------------------------------------------------- \RequirePackage{expl3} -\GetIdInfo$Id: l3regex.dtx 3940 2012-07-09 00:41:44Z bruno $ +\GetIdInfo$Id: l3regex.dtx 4219 2012-09-09 13:28:51Z bruno $ {L3 Experimental regular expressions} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} @@ -1347,14 +1347,14 @@ \__regex_show_push:n { ~ } #1 \__tl_build_end: - \__msg_show_variable:x { > Compiled~regex~#2: \l__regex_internal_a_tl } + \__msg_show_variable:n { >~Compiled~regex~#2: \l__regex_internal_a_tl } } \cs_new_protected:Npn \__regex_show_one:n #1 { \int_incr:N \l__regex_show_lines_int \__tl_build_one:x { - \iow_newline: + \exp_not:N \\ \seq_map_function:NN \l__regex_show_prefix_seq \use:n #1 } diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3tl-analysis.sty b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3tl-analysis.sty index 0dfd6401fae..eb4a612e028 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3tl-analysis.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3tl-analysis.sty @@ -361,23 +361,33 @@ \cs_new_protected:Npn \tl_show_analysis:N #1 { \exp_args:No \__tl_analysis:n {#1} - \__msg_show_variable:Nnx #1 - { tl-analysis } - { - \exp_after:wN \__tl_analysis_show_loop:wNw \g__tl_analysis_result_tl - \s__tl { ? \__prg_break: } \s__tl - \__prg_break_point: - } + \__tl_analysis_show:N #1 } \cs_new_protected:Npn \tl_show_analysis:n #1 { + \__tl_analysis:n {#1} \tl_set:Nn \l__tl_analysis_internal_tl {#1} - \tl_show_analysis:N \l__tl_analysis_internal_tl + \__tl_analysis_show:N \l__tl_analysis_internal_tl + } +\cs_new_protected:Npn \__tl_analysis_show:N #1 + { + \group_begin: + \use:x + { + \group_end: + \exp_not:n { \__msg_show_variable:Nnn #1 } + { tl-analysis } + { + \exp_after:wN \__tl_analysis_show_loop:wNw \g__tl_analysis_result_tl + \s__tl { ? \__prg_break: } \s__tl + \__prg_break_point: + } + } } \cs_new:Npn \__tl_analysis_show_loop:wNw #1 \s__tl #2 #3 \s__tl { \use_none:n #2 - \iow_newline: > \c_space_tl \c_space_tl + \exp_not:n { \\ > \ \ } \if_int_compare:w "#2 = \c_zero \exp_after:wN \__tl_analysis_show_cs:n \else: |