[latex3-commits] [git/LaTeX3-latex3-latex3] scan-quark: Remove unnecessary quark in l3str-convert (95dc93150)

PhelypeOleinik tex.phelype at gmail.com
Mon Mar 30 17:36:34 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : scan-quark
Link       : https://github.com/latex3/latex3/commit/95dc931500194784c384fa682c9667ab52696bee

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

commit 95dc931500194784c384fa682c9667ab52696bee
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Mon Mar 30 12:36:34 2020 -0300

    Remove unnecessary quark in l3str-convert


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

95dc931500194784c384fa682c9667ab52696bee
 l3kernel/l3str-convert.dtx | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/l3kernel/l3str-convert.dtx b/l3kernel/l3str-convert.dtx
index 2482047bd..786cb699b 100644
--- a/l3kernel/l3str-convert.dtx
+++ b/l3kernel/l3str-convert.dtx
@@ -293,21 +293,13 @@
 %    \end{macrocode}
 % \end{variable}
 %
-% \begin{variable}{\q_@@_nil,\q_@@_stop}
+% \begin{variable}{\q_@@_nil}
 %   Internal quarks.
 %    \begin{macrocode}
 \quark_new:N \q_@@_nil
-\quark_new:N \q_@@_stop
 %    \end{macrocode}
 % \end{variable}
 %
-% \begin{macro}[EXP]{\@@_use_none_delimit_by_q_stop:w}
-%   Functions to gobble up to a quark.
-%    \begin{macrocode}
-\cs_new:Npn \@@_use_none_delimit_by_q_stop:w #1 \q_@@_stop { }
-%    \end{macrocode}
-% \end{macro}
-%
 % \begin{variable}{\g_@@_alias_prop}
 %   To avoid needing one file per encoding/escaping alias, we keep track
 %   of those in a property list.
@@ -1984,7 +1976,7 @@
       \int_value:w \int_eval:n { `#1 - "C0 } \exp_after:wN
     \fi:
     \s_@@
-    \@@_use_none_delimit_by_q_stop:w {"80} {"800} {"10000} {"110000} \q_@@_stop
+    \@@_use_none_delimit_by_s_stop:w {"80} {"800} {"10000} {"110000} \s_@@_stop
     \@@_decode_utf_viii_start:N
   }
 \cs_new:Npn \@@_decode_utf_viii_continuation:wwN
@@ -2020,7 +2012,7 @@
         #1
       \fi:
     \else:
-      \if_meaning:w \q_@@_stop #5
+      \if_meaning:w \s_@@_stop #5
         \@@_decode_utf_viii_overflow:w #1
       \fi:
       \exp_after:wN \@@_decode_utf_viii_continuation:wwN





More information about the latex3-commits mailing list.