diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/xpackages/xbase/xparse.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/xpackages/xbase/xparse.dtx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/xpackages/xbase/xparse.dtx b/Master/texmf-dist/source/latex/xpackages/xbase/xparse.dtx index 564907d4acb..d9cb5bbeb32 100644 --- a/Master/texmf-dist/source/latex/xpackages/xbase/xparse.dtx +++ b/Master/texmf-dist/source/latex/xpackages/xbase/xparse.dtx @@ -41,7 +41,7 @@ \RequirePackage{l3names} %</driver|package> %\fi -\GetIdInfo$Id: xparse.dtx 2037 2010-09-20 21:22:45Z joseph $ +\GetIdInfo$Id: xparse.dtx 2063 2010-10-03 08:26:49Z mittelba $ {Generic document command parser} %\iffalse %<*driver> @@ -1099,7 +1099,7 @@ \exp_not:c { xparse_grab_ #1 \bool_if:NT \l_xparse_long_bool { _long } - \intexpr_compare:nF { + \int_compare:nF { \l_xparse_mandatory_args_int > \c_zero } { _trailing } :w @@ -1656,7 +1656,7 @@ % input argument. % \begin{macrocode} \cs_new:Npn \xparse_add_arg:n #1 { - \intexpr_compare:nTF { \l_xparse_processor_int = \c_zero } { + \int_compare:nTF { \l_xparse_processor_int = \c_zero } { \tl_put_right:Nn \l_xparse_args_tl { {#1} } }{ \xparse_if_no_value:nTF {#1} { @@ -1673,7 +1673,7 @@ \use:c { xparse_processor_ \int_use:N \l_xparse_processor_int :n } {#1} \int_decr:N \l_xparse_processor_int - \intexpr_compare:nTF { \l_xparse_processor_int = \c_zero } { + \int_compare:nTF { \l_xparse_processor_int = \c_zero } { \tl_put_right:Nx \l_xparse_args_tl { { \exp_not:V \ProcessedArgument } } @@ -2251,7 +2251,7 @@ \xparse_exp_set:cpx { \l_xparse_tmp_tl aux} ##1 \q_xparse ##2 #2 { \exp_not:c { \exp_after:wN \token_to_str:N \l_xparse_function_tl - \intexpr_eval:n { \l_xparse_total_args_int + 1 } + \int_eval:n { \l_xparse_total_args_int + 1 } } ##1 {##2} \exp_not:N \q_xparse } \xparse_exp_prepare_function:N @@ -2273,7 +2273,7 @@ } ##1 \q_xparse ##2## { \exp_not:c { \exp_after:wN \token_to_str:N \l_xparse_function_tl - \intexpr_eval:n { \l_xparse_total_args_int + 1 } + \int_eval:n { \l_xparse_total_args_int + 1 } } ##1 {##2} \exp_not:N \q_xparse } @@ -2287,7 +2287,7 @@ } ##1 \q_xparse ##2 { \exp_not:c { \exp_after:wN \token_to_str:N \l_xparse_function_tl - \intexpr_eval:n { \l_xparse_total_args_int + 1 } + \int_eval:n { \l_xparse_total_args_int + 1 } } ##1 {##2} \exp_not:N \q_xparse } @@ -2307,7 +2307,7 @@ \cs_new:Npn \xparse_exp_add_type_t:w #1 { \tl_set:Nx \l_xparse_tmp_tl { \exp_after:wN \token_to_str:N \l_xparse_function_tl - \intexpr_eval:n { \l_xparse_total_args_int + 1 } + \int_eval:n { \l_xparse_total_args_int + 1 } } \xparse_exp_set:cpx { \exp_after:wN \token_to_str:N \l_xparse_function_tl @@ -2339,7 +2339,7 @@ } ##1 \q_xparse ##2 #1 { \exp_not:c { \exp_after:wN \token_to_str:N \l_xparse_function_tl - \intexpr_eval:n { \l_xparse_total_args_int + 1 } + \int_eval:n { \l_xparse_total_args_int + 1 } } ##1 {##2} \exp_not:N \q_xparse } @@ -2391,7 +2391,7 @@ } \tl_set:Nn \l_xparse_function_tl {#1} \xparse_exp_prepare_function:n {#2} - \intexpr_compare:nTF { + \int_compare:nTF { \l_xparse_total_args_int = \l_xparse_m_args_int } { \xparse_exp_declare_cmd_all_m:Nn #1 {#3} @@ -2420,7 +2420,7 @@ \exp_not:c { \token_to_str:N #1 1 } x \exp_not:N \q_xparse } \cs_set_nopar:cpx { - \token_to_str:N #1 \intexpr_eval:n { \l_xparse_total_args_int + 1 } + \token_to_str:N #1 \int_eval:n { \l_xparse_total_args_int + 1 } } x ##1 \q_xparse { \exp_not:c { \token_to_str:N #1 } ##1 } |