[latex3-commits] [git/LaTeX3-latex3-latex3] master: Drop some constants (014b142)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Sep 14 12:39:48 CEST 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/014b14271fd8c6fdd649fcea028177bbc20d9588
>---------------------------------------------------------------
commit 014b14271fd8c6fdd649fcea028177bbc20d9588
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Sep 14 11:39:48 2018 +0100
Drop some constants
>---------------------------------------------------------------
014b14271fd8c6fdd649fcea028177bbc20d9588
l3experimental/xmarks/xmarks.dtx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/l3experimental/xmarks/xmarks.dtx b/l3experimental/xmarks/xmarks.dtx
index c9c422d..931ac71 100644
--- a/l3experimental/xmarks/xmarks.dtx
+++ b/l3experimental/xmarks/xmarks.dtx
@@ -384,7 +384,7 @@
{ \tl_to_str:n {#1} }
}
\prop_gput:Nnx \g_@@_current_prop {#1}
- { \int_eval:n { \l_@@_tmp_tl + \c_one } }
+ { \int_eval:n { \l_@@_tmp_tl + 1 } }
%<*trace>
\trace_marks_internal:n
{ Setting~mark~ \@@_trace_store:N \g_@@_current_prop }
@@ -519,7 +519,7 @@
\tl_gset:cx { g_@@_ #1 _tl } { { \exp_not:o \l_@@_tmp_tl } }
\seq_get_left:cN { g_@@_ #1 _seq } \l_@@_tmp_tl
\tl_gput_right:cx { g_@@_ #1 _tl } { { \exp_not:o \l_@@_tmp_tl } }
- \int_while_do:nNnn \l_@@_tmp_int > \c_one
+ \int_while_do:nNnn \l_@@_tmp_int > 1
{
\int_decr:N \l_@@_tmp_int
\seq_gpop:cN { g_@@_ #1 _seq } \l_@@_tmp_tl
@@ -701,12 +701,12 @@
%<*trace>
\cs_new_protected:Npn \trace_marks:n #1
{
- \int_compare:nNnT \tracingmarks > \c_zero
+ \int_compare:nNnT \tracingmarks > 0
{ \iow_log:x { Marks:~#1~ \msg_line_context: } }
}
\cs_new_protected:Npn \trace_marks_internal:n #1
{
- \int_compare:nNnT \tracingmarks > \c_one
+ \int_compare:nNnT \tracingmarks > 0
{ \iow_log:x { Marks:~#1 } }
}
%</trace>
More information about the latex3-commits
mailing list