[latex3-commits] [git/latex3] master: Replace deprecated \box_use_clear:N by \box_use_drop:N in l3tree (76e1fc4)
Bruno Le Floch
bruno at le-floch.fr
Tue Nov 28 20:31:05 CET 2017
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/76e1fc4098f39c58908a3d2cc4d4ace3d19c86fa
>---------------------------------------------------------------
commit 76e1fc4098f39c58908a3d2cc4d4ace3d19c86fa
Author: Bruno Le Floch <bruno at le-floch.fr>
Date: Tue Nov 28 14:31:05 2017 -0500
Replace deprecated \box_use_clear:N by \box_use_drop:N in l3tree
>---------------------------------------------------------------
76e1fc4098f39c58908a3d2cc4d4ace3d19c86fa
l3trial/l3tree/l3tree.dtx | 68 ++++++++++++++++++++++-----------------------
1 file changed, 34 insertions(+), 34 deletions(-)
diff --git a/l3trial/l3tree/l3tree.dtx b/l3trial/l3tree/l3tree.dtx
index 408b52d..896066d 100644
--- a/l3trial/l3tree/l3tree.dtx
+++ b/l3trial/l3tree/l3tree.dtx
@@ -379,9 +379,9 @@
\tree_put_loop:
\tree_splay_loop:
\fi:
- \box_use_clear:N \l_tree_left_box
- \box_use_clear:N \l_tree_item_box
- \box_use_clear:N \l_tree_right_box
+ \box_use_drop:N \l_tree_left_box
+ \box_use_drop:N \l_tree_item_box
+ \box_use_drop:N \l_tree_right_box
\tree_end:
}
% \end{macrocode}
@@ -416,15 +416,15 @@
% \begin{macrocode}
\cs_new_protected:Npn \tree_ordered:
{
- \box_use_clear:N \l_tree_parent_box
+ \box_use_drop:N \l_tree_parent_box
\tex_kern:D \c_one_sp_dim
}
\cs_new_protected:Npn \tree_reversed:
{
\tex_setbox:D \l_tree_second_box \tex_lastbox:D
- \box_use_clear:N \l_tree_first_box
+ \box_use_drop:N \l_tree_first_box
\tex_setbox:D \l_tree_first_box \tex_box:D \l_tree_second_box
- \box_use_clear:N \l_tree_parent_box
+ \box_use_drop:N \l_tree_parent_box
\tex_kern:D - \c_one_sp_dim
}
% \end{macrocode}
@@ -469,9 +469,9 @@
{
\tex_setbox:D \l_tree_left_box \tex_hbox:D
{
- \box_use_clear:N \l_tree_first_box
- \box_use_clear:N \l_tree_parent_box
- \box_use_clear:N \l_tree_left_box
+ \box_use_drop:N \l_tree_first_box
+ \box_use_drop:N \l_tree_parent_box
+ \box_use_drop:N \l_tree_left_box
}
}
% \end{macrocode}
@@ -484,9 +484,9 @@
{
\tex_setbox:D \l_tree_right_box \tex_hbox:D
{
- \box_use_clear:N \l_tree_right_box
- \box_use_clear:N \l_tree_parent_box
- \box_use_clear:N \l_tree_first_box
+ \box_use_drop:N \l_tree_right_box
+ \box_use_drop:N \l_tree_parent_box
+ \box_use_drop:N \l_tree_first_box
}
}
% \end{macrocode}
@@ -501,12 +501,12 @@
{
\tex_hbox:D
{
- \box_use_clear:N \l_tree_second_box
- \box_use_clear:N \l_tree_grandpa_box
- \box_use_clear:N \l_tree_first_box
+ \box_use_drop:N \l_tree_second_box
+ \box_use_drop:N \l_tree_grandpa_box
+ \box_use_drop:N \l_tree_first_box
}
- \box_use_clear:N \l_tree_parent_box
- \box_use_clear:N \l_tree_left_box
+ \box_use_drop:N \l_tree_parent_box
+ \box_use_drop:N \l_tree_left_box
}
\tree_splay_loop:
}
@@ -520,15 +520,15 @@
{
\tex_setbox:D \l_tree_right_box \tex_hbox:D
{
- \box_use_clear:N \l_tree_right_box
- \box_use_clear:N \l_tree_grandpa_box
- \box_use_clear:N \l_tree_second_box
+ \box_use_drop:N \l_tree_right_box
+ \box_use_drop:N \l_tree_grandpa_box
+ \box_use_drop:N \l_tree_second_box
}
\tex_setbox:D \l_tree_left_box \tex_hbox:D
{
- \box_use_clear:N \l_tree_first_box
- \box_use_clear:N \l_tree_parent_box
- \box_use_clear:N \l_tree_left_box
+ \box_use_drop:N \l_tree_first_box
+ \box_use_drop:N \l_tree_parent_box
+ \box_use_drop:N \l_tree_left_box
}
\tree_splay_loop:
}
@@ -542,15 +542,15 @@
{
\tex_setbox:D \l_tree_right_box \tex_hbox:D
{
- \box_use_clear:N \l_tree_right_box
- \box_use_clear:N \l_tree_parent_box
- \box_use_clear:N \l_tree_first_box
+ \box_use_drop:N \l_tree_right_box
+ \box_use_drop:N \l_tree_parent_box
+ \box_use_drop:N \l_tree_first_box
}
\tex_setbox:D \l_tree_left_box \tex_hbox:D
{
- \box_use_clear:N \l_tree_second_box
- \box_use_clear:N \l_tree_grandpa_box
- \box_use_clear:N \l_tree_left_box
+ \box_use_drop:N \l_tree_second_box
+ \box_use_drop:N \l_tree_grandpa_box
+ \box_use_drop:N \l_tree_left_box
}
\tree_splay_loop:
}
@@ -564,13 +564,13 @@
{
\tex_setbox:D \l_tree_right_box \tex_hbox:D
{
- \box_use_clear:N \l_tree_right_box
- \box_use_clear:N \l_tree_parent_box
+ \box_use_drop:N \l_tree_right_box
+ \box_use_drop:N \l_tree_parent_box
\tex_hbox:D
{
- \box_use_clear:N \l_tree_first_box
- \box_use_clear:N \l_tree_grandpa_box
- \box_use_clear:N \l_tree_second_box
+ \box_use_drop:N \l_tree_first_box
+ \box_use_drop:N \l_tree_grandpa_box
+ \box_use_drop:N \l_tree_second_box
}
}
\tree_splay_loop:
More information about the latex3-commits
mailing list