diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty index bea7493670d..05f8d8910be 100644 --- a/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty +++ b/Master/texmf-dist/tex/latex/l3packages/xparse/xparse.sty @@ -50,8 +50,8 @@ %% %% ----------------------------------------------------------------------- %% -\RequirePackage{expl3}[2016/03/28] -\@ifpackagelater{expl3}{2016/03/28} +\RequirePackage{expl3}[2016/04/20] +\@ifpackagelater{expl3}{2016/04/20} {} {% \PackageError{xparse}{Support package l3kernel too old} @@ -65,8 +65,8 @@ } \def\ExplFileName{xparse} \def\ExplFileDescription{L3 Experimental document command parser} -\def\ExplFileDate{2016/03/28} -\def\ExplFileVersion{6468} +\def\ExplFileDate{2016/04/20} +\def\ExplFileVersion{6476} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} \tl_const:Nx \c__xparse_no_value_tl @@ -210,17 +210,17 @@ { \__xparse_declare_cmd_internal:cnx { environment~ #1 } {#2} { - \cs_set_protected_nopar:Npx \exp_not:c { environment~ #1 ~end~aux } + \cs_set_nopar:Npx \exp_not:c { environment~ #1 ~end~aux } { - \exp_not:c { environment~ #1~end~aux~ } + \exp_not:N \exp_not:N \exp_not:c { environment~ #1~end~aux~ } \exp_not:n { \tl_tail:N \l__xparse_args_tl } } \exp_not:n {#3} } - \cs_set_protected_nopar:cpx { environment~ #1 ~end } + \cs_set_nopar:cpx { environment~ #1 ~end } { \exp_not:c { environment~ #1 ~end~aux } } \cs_generate_from_arg_count:cNnn - { environment~ #1 ~end~aux~ } \cs_set_protected:Npn + { environment~ #1 ~end~aux~ } \cs_set:Npn \l__xparse_current_arg_int {#4} \cs_set_eq:cc {#1} { environment~ #1 } \cs_set_eq:cc { end #1 } { environment~ #1 ~end } @@ -723,13 +723,8 @@ } \token_if_eq_catcode:NNTF + #1 { - \group_begin: - \char_set_lccode:nn { `A } { `#1 } - \tex_lowercase:D - { - \group_end: - \l__xparse_fn_tl A - } + \exp_after:wN \exp_after:wN \exp_after:wN + \l__xparse_fn_tl \char_generate:nn { `#1 } { 11 } } { \exp_after:wN \l__xparse_fn_tl |