[latex3-commits] [git/LaTeX3-latex3-latex3] master: Remove unused function in l3str-convert (fbc90ac)

Bruno Le Floch bruno at le-floch.fr
Mon Apr 2 05:03:09 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/fbc90ac40554c05540de9c872a92f78f545a5eb4

>---------------------------------------------------------------

commit fbc90ac40554c05540de9c872a92f78f545a5eb4
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Sun Apr 1 23:03:09 2018 -0400

    Remove unused function in l3str-convert


>---------------------------------------------------------------

fbc90ac40554c05540de9c872a92f78f545a5eb4
 l3experimental/l3str/l3str-convert.dtx |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/l3experimental/l3str/l3str-convert.dtx b/l3experimental/l3str/l3str-convert.dtx
index 729cd7e..b66d928 100644
--- a/l3experimental/l3str/l3str-convert.dtx
+++ b/l3experimental/l3str/l3str-convert.dtx
@@ -483,7 +483,6 @@
 % \begin{macro}[EXP]{\@@_output_byte:n}
 % \begin{macro}[EXP]{\@@_output_byte:w}
 % \begin{macro}[EXP]{\@@_output_hexadecimal:n}
-% \begin{macro}[EXP]{\@@_output_hexadecimal:w}
 % \begin{macro}[EXP]{\@@_output_end:}
 %   Those functions must be used carefully: feeding them a value outside
 %   the range $[-1,255]$ will attempt to use the undefined token list
@@ -499,15 +498,13 @@
   {
     \exp_after:wN \exp_after:wN
     \exp_after:wN \use_i:nnn
-    \cs:w c_@@_byte_ \int_value:w \int_eval:w
+    \cs:w c_@@_byte_ \int_eval:w
   }
 \cs_new:Npn \@@_output_hexadecimal:n #1
-  { \@@_output_hexadecimal:w #1 \@@_output_end: }
-\cs_new:Npn \@@_output_hexadecimal:w
   {
     \exp_after:wN \exp_after:wN
     \exp_after:wN \use_none:n
-    \cs:w c_@@_byte_ \int_value:w \int_eval:w
+    \cs:w c_@@_byte_ \int_eval:n {#1} _tl \cs_end:
   }
 \cs_new:Npn \@@_output_end:
   { \scan_stop: _tl \cs_end: }
@@ -516,7 +513,6 @@
 % \end{macro}
 % \end{macro}
 % \end{macro}
-% \end{macro}
 %
 % \begin{macro}[rEXP]{\@@_output_byte_pair_be:n}
 % \begin{macro}[rEXP]{\@@_output_byte_pair_le:n}





More information about the latex3-commits mailing list