[latex3-commits] [git/LaTeX3-latex3-latex3] scan-quark: Replace quarks by scan marks in l3text-purify (98d162a87)

PhelypeOleinik tex.phelype at gmail.com
Sat Mar 21 01:04:06 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : scan-quark
Link       : https://github.com/latex3/latex3/commit/98d162a875d93f29866b454196aae894284dc143

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

commit 98d162a875d93f29866b454196aae894284dc143
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Fri Mar 20 21:04:06 2020 -0300

    Replace quarks by scan marks in l3text-purify


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

98d162a875d93f29866b454196aae894284dc143
 l3kernel/l3text-purify.dtx | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/l3kernel/l3text-purify.dtx b/l3kernel/l3text-purify.dtx
index 98dcb3599..da9e66b45 100644
--- a/l3kernel/l3text-purify.dtx
+++ b/l3kernel/l3text-purify.dtx
@@ -98,13 +98,13 @@
     \group_align_safe_end:
   }
 \cs_new:Npn \@@_purify:n #1
-  { \@@_purify_loop:w #1 \q_recursion_tail \q_recursion_stop }
+  { \@@_purify_loop:w #1 \q_@@_recursion_tail \q_@@_recursion_stop }
 %    \end{macrocode}
 %   The main loop is a standard \enquote{tl action}. Unlike the expansion
 %   or case changing, here any groups have to be run inline. Most of the
 %   business end is as before in the \texttt{N}-type token processing.
 %    \begin{macrocode}
-\cs_new:Npn \@@_purify_loop:w #1 \q_recursion_stop
+\cs_new:Npn \@@_purify_loop:w #1 \q_@@_recursion_stop
   {
     \tl_if_head_is_N_type:nTF {#1}
       { \@@_purify_N_type:N }
@@ -113,7 +113,7 @@
           { \@@_purify_group:n }
           { \@@_purify_space:w }
       }
-    #1 \q_recursion_stop
+    #1 \q_@@_recursion_stop
   }
 \cs_new:Npn \@@_purify_group:n #1 { \@@_purify_loop:w #1 }
 \exp_last_unbraced:NNo \cs_new:Npn \@@_purify_space:w \c_space_tl
@@ -128,30 +128,30 @@
 %    \begin{macrocode}
 \cs_new:Npn \@@_purify_N_type:N #1
   {
-    \quark_if_recursion_tail_stop:N #1
+    \@@_if_recursion_tail_stop:N #1
     \@@_purify_N_type_aux:N #1
   }
 \cs_new:Npn \@@_purify_N_type_aux:N #1
   {
     \exp_after:wN \@@_purify_math_search:NNN
       \exp_after:wN #1 \l_text_math_delims_tl
-      \q_recursion_tail ?
-      \q_recursion_stop
+      \q_@@_recursion_tail ?
+      \q_@@_recursion_stop
   }
 \cs_new:Npn \@@_purify_math_search:NNN #1#2#3
   {
-    \quark_if_recursion_tail_stop_do:Nn #2
+    \@@_if_recursion_tail_stop_do:Nn #2
       { \@@_purify_math_cmd:N #1 }
     \token_if_eq_meaning:NNTF #1 #2
       {
-        \use_i_delimit_by_q_recursion_stop:nw
+        \@@_use_i_delimit_by_q_recursion_stop:nw
            { \@@_purify_math_start:NNw #2 #3 }
       }
       { \@@_purify_math_search:NNN #1 }
   }
-\cs_new:Npn \@@_purify_math_start:NNw #1#2#3 \q_recursion_stop
+\cs_new:Npn \@@_purify_math_start:NNw #1#2#3 \q_@@_recursion_stop
   {
-    \@@_purify_math_loop:NNw #1#2#3 \q_recursion_stop
+    \@@_purify_math_loop:NNw #1#2#3 \q_@@_recursion_stop
       \@@_purify_math_result:n { }
   }
 \cs_new:Npn \@@_purify_math_store:n #1
@@ -165,7 +165,7 @@
   }
 \cs_new:Npn \@@_purify_math_stop:Nw #1 \@@_purify_math_result:n #2
   { \exp_not:n {#1#2} }
-\cs_new:Npn \@@_purify_math_loop:NNw #1#2#3 \q_recursion_stop
+\cs_new:Npn \@@_purify_math_loop:NNw #1#2#3 \q_@@_recursion_stop
   {
     \tl_if_head_is_N_type:nTF {#3}
       { \@@_purify_math_N_type:NNN }
@@ -174,11 +174,11 @@
           { \@@_purify_math_group:NNn }
           { \@@_purify_math_space:NNw }
       }
-        #1#2#3 \q_recursion_stop
+        #1#2#3 \q_@@_recursion_stop
   }
 \cs_new:Npn \@@_purify_math_N_type:NNN #1#2#3
   {
-    \quark_if_recursion_tail_stop_do:Nn #3
+    \@@_if_recursion_tail_stop_do:Nn #3
       { \@@_purify_math_stop:Nw #1 }
     \token_if_eq_meaning:NNTF #3 #2
       { \@@_purify_math_end:w }
@@ -206,15 +206,15 @@
 \cs_new:Npn \@@_purify_math_cmd:N #1
   {
     \exp_after:wN \@@_purify_math_cmd:NN \exp_after:wN #1
-      \l_text_math_arg_tl \q_recursion_tail \q_recursion_stop
+      \l_text_math_arg_tl \q_@@_recursion_tail \q_@@_recursion_stop
   }
 \cs_new:Npn \@@_purify_math_cmd:NN #1#2
   {
-    \quark_if_recursion_tail_stop_do:Nn #2
+    \@@_if_recursion_tail_stop_do:Nn #2
       { \@@_purify_replace:N #1 }
     \cs_if_eq:NNTF #2 #1
       {
-        \use_i_delimit_by_q_recursion_stop:nw
+        \@@_use_i_delimit_by_q_recursion_stop:nw
           { \@@_purify_math_cmd:n }
       }
       { \@@_purify_math_cmd:NN #1 }
@@ -264,7 +264,7 @@
   }
 \cs_new:Npn \@@_purify_protect:N #1
   {
-    \quark_if_recursion_tail_stop:N #1
+    \@@_if_recursion_tail_stop:N #1
     \@@_purify_loop:w
   }
 %    \end{macrocode}





More information about the latex3-commits mailing list.