[latex3-commits] [git/LaTeX3-latex3-latex3] scan-quark: Remove \exp_not:N from scan marks (d63f99358)

PhelypeOleinik tex.phelype at gmail.com
Sun Mar 29 23:39:47 CEST 2020


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

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

commit d63f993584fb5af6aa1e2e1e920ce02879611d6a
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Sun Mar 29 18:39:47 2020 -0300

    Remove \exp_not:N from scan marks


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

d63f993584fb5af6aa1e2e1e920ce02879611d6a
 l3experimental/l3draw/l3draw-softpath.dtx |  4 ++--
 l3experimental/l3graphics/l3graphics.dtx  |  6 +++---
 l3kernel/l3debug.dtx                      |  2 +-
 l3kernel/l3expan.dtx                      | 17 ++++++++---------
 l3kernel/l3fp-aux.dtx                     |  4 ++--
 l3kernel/l3fp-parse.dtx                   |  2 +-
 l3kernel/l3keys.dtx                       |  4 ++--
 l3kernel/l3token.dtx                      | 14 +++++++-------
 l3packages/xtemplate/xtemplate.dtx        |  4 ++--
 l3trial/l3fp-extras/l3fp-types.dtx        |  8 ++++----
 10 files changed, 32 insertions(+), 33 deletions(-)

diff --git a/l3experimental/l3draw/l3draw-softpath.dtx b/l3experimental/l3draw/l3draw-softpath.dtx
index 747aee8a7..5c9843d5a 100644
--- a/l3experimental/l3draw/l3draw-softpath.dtx
+++ b/l3experimental/l3draw/l3draw-softpath.dtx
@@ -556,7 +556,7 @@
                 \exp_not:N \exp_after:wN
                   \exp_not:N \@@_softpath_round_close:w
                   \exp_not:N \l_@@_softpath_curve_end_tl
-                    \exp_not:N \s_@@_stop
+                    \s_@@_stop
               }
             \use:x
               {
@@ -567,7 +567,7 @@
                       \exp_not:N \exp_after:wN
                         \exp_not:N \@@_softpath_round_close:w
                         \exp_not:N \l_@@_softpath_curve_end_tl
-                          \exp_not:N \s_@@_stop
+                          \s_@@_stop
                   }
               }
           }
diff --git a/l3experimental/l3graphics/l3graphics.dtx b/l3experimental/l3graphics/l3graphics.dtx
index 2b2003458..2633b9a7b 100644
--- a/l3experimental/l3graphics/l3graphics.dtx
+++ b/l3experimental/l3graphics/l3graphics.dtx
@@ -415,7 +415,7 @@
         \ior_str_map_inline:Nn \exp_not:N \l_@@_tmp_ior
           {
             \exp_not:N \@@_read_bb_auxiii:w
-              ##1 ~ \c_colon_str \exp_not:N \s_@@_stop
+              ##1 ~ \c_colon_str \s_@@_stop
           }
       }
     \exp_not:n
@@ -432,12 +432,12 @@
 \use:x
   {
     \cs_new_protected:Npn \exp_not:N \@@_read_bb_auxiii:w
-      ##1 \c_colon_str ##2 \exp_not:N \s_@@_stop
+      ##1 \c_colon_str ##2 \s_@@_stop
       {
         \exp_not:N \str_if_eq:nnT
           { \c_percent_str \c_percent_str BoundingBox }
           {##1}
-          { \exp_not:N \@@_read_bb_auxiv:w ##2 ( ) \exp_not:N \s_@@_stop }
+          { \exp_not:N \@@_read_bb_auxiv:w ##2 ( ) \s_@@_stop }
       }
   }
 %    \end{macrocode}
diff --git a/l3kernel/l3debug.dtx b/l3kernel/l3debug.dtx
index 0db379cb0..3f173ebcf 100644
--- a/l3kernel/l3debug.dtx
+++ b/l3kernel/l3debug.dtx
@@ -681,7 +681,7 @@
             ####2 \tl_to_str:n { -> }
             ####3 \c_backslash_str \tl_to_str:n { __debug_ }
                     \cs_to_str:N #1
-            ####4 \exp_not:N \s_@@_stop
+            ####4 \s_@@_stop
             {
               \exp_not:N \exp_args:Nx \exp_not:N \tex_scantokens:D
                 {
diff --git a/l3kernel/l3expan.dtx b/l3kernel/l3expan.dtx
index fa218cb41..07d2a7d21 100644
--- a/l3kernel/l3expan.dtx
+++ b/l3kernel/l3expan.dtx
@@ -2258,11 +2258,11 @@
     \exp_not:N \else:
       \exp_not:N \exp_after:wN \exp_not:N \@@_generate_variant:ww
         \exp_not:N \token_to_meaning:N #1 \tl_to_str:n { ma }
-          \exp_not:N \s_@@_mark
-        \exp_not:N \s_@@_mark \cs_new_protected:Npx
+          \s_@@_mark
+        \s_@@_mark \cs_new_protected:Npx
         \tl_to_str:n { pr }
-        \exp_not:N \s_@@_mark \cs_new:Npx
-        \exp_not:N \s_@@_stop
+        \s_@@_mark \cs_new:Npx
+        \s_@@_stop
     \exp_not:N \fi:
   }
 \exp_last_unbraced:NNNNo
@@ -2486,8 +2486,7 @@
     #1#2 \s_@@_mark #3 ~ #4 \s_@@_stop #5#6#7#8
   {
     \scan_stop: \scan_stop: \fi:
-    \exp_not:N \s_@@_mark
-    \exp_not:N \s_@@_stop
+    \s_@@_mark \s_@@_stop
     \exp_not:N #6
     \exp_not:c { #7 : #8 #1 #3 }
   }
@@ -2597,15 +2596,15 @@
 \cs_new_protected:Npx \@@_generate_internal_variant:n #1
   {
     \exp_not:N \@@_generate_internal_variant:wwnNwn
-      #1 \exp_not:N \s_@@_mark
+      #1 \s_@@_mark
         { \cs_set_eq:NN \exp_not:N \@@_tmp:w \cs_new_protected:Npx }
         \cs_new_protected:cpn
         \use:x
-      \token_to_str:N x \exp_not:N \s_@@_mark
+      \token_to_str:N x \s_@@_mark
         { }
         \cs_new:cpn
         \exp_not:N \tex_expanded:D
-    \exp_not:N \s_@@_stop
+    \s_@@_stop
       {#1}
   }
 \exp_last_unbraced:NNNNo
diff --git a/l3kernel/l3fp-aux.dtx b/l3kernel/l3fp-aux.dtx
index ce9045b46..ac1b4cabf 100644
--- a/l3kernel/l3fp-aux.dtx
+++ b/l3kernel/l3fp-aux.dtx
@@ -599,8 +599,8 @@
 \cs_new:Npx \@@_type_from_scan_other:N #1
   {
     \exp_not:N \exp_after:wN \exp_not:N \@@_type_from_scan:w
-    \exp_not:N \token_to_str:N #1 \exp_not:N \s_@@_mark
-      \tl_to_str:n { s_@@ _? } \exp_not:N \s_@@_mark \exp_not:N \s_@@_stop
+    \exp_not:N \token_to_str:N #1 \s_@@_mark
+      \tl_to_str:n { s_@@ _? } \s_@@_mark \s_@@_stop
   }
 \exp_last_unbraced:NNNNo
   \cs_new:Npn \@@_type_from_scan:w #1
diff --git a/l3kernel/l3fp-parse.dtx b/l3kernel/l3fp-parse.dtx
index a52315600..815cabb6e 100644
--- a/l3kernel/l3fp-parse.dtx
+++ b/l3kernel/l3fp-parse.dtx
@@ -877,7 +877,7 @@
       ; \exp_not:N \@@_parse_one_register_dim:ww
       \tl_to_str:n { pt } ; \exp_not:N \@@_parse_one_register_mu:www
       . \tl_to_str:n { pt } ; \exp_not:N \@@_parse_one_register_int:www
-      \exp_not:N \s_@@_stop
+      \s_@@_stop
   }
 \exp_args:Nno \use:nn
   { \cs_new:Npn \@@_parse_one_register_auxii:wwwNw #1 . #2 }
diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 96dfc1bdc..39ae3fca3 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -2785,7 +2785,7 @@
         \cs_set_protected:Npn \@@_store_unused:w
           ####1 \l_@@_relative_tl /
           ####2 \l_@@_relative_tl /
-          ####3 \exp_not:N \s_@@_stop
+          ####3 \s_@@_stop
       }
         {
           \tl_if_blank:nF {##1}
@@ -2805,7 +2805,7 @@
       {
         \@@_store_unused:w \l_keys_path_str
           \l_@@_relative_tl / \l_@@_relative_tl /
-          \exp_not:N \s_@@_stop
+          \s_@@_stop
       }
   }
 \cs_new_protected:Npn \@@_store_unused:w { }
diff --git a/l3kernel/l3token.dtx b/l3kernel/l3token.dtx
index d0af3b6c0..41114803d 100644
--- a/l3kernel/l3token.dtx
+++ b/l3kernel/l3token.dtx
@@ -2167,10 +2167,10 @@
       {
         \exp_not:N \exp_after:wN \exp_not:N \@@_if_macro_p:w
         \exp_not:N \token_to_meaning:N ##1 \tl_to_str:n { ma : }
-          \exp_not:N \s_@@_stop
+          \s_@@_stop
       }
     \cs_new:Npn \exp_not:N  \@@_if_macro_p:w
-      ##1 \tl_to_str:n { ma } ##2 \c_colon_str ##3 \exp_not:N \s_@@_stop
+      ##1 \tl_to_str:n { ma } ##2 \c_colon_str ##3 \s_@@_stop
   }
       {
         \str_if_eq:nnTF { #2 } { cro }
@@ -2240,7 +2240,7 @@
     \use:x
       {
         \cs_new:Npn \exp_not:c { @@_delimit_by_ #1 :w }
-            ####1 \tl_to_str:n {#1} ####2 \exp_not:N \s_@@_stop
+            ####1 \tl_to_str:n {#1} ####2 \s_@@_stop
           { ####1 \tl_to_str:n {#1} }
       }
   }
@@ -2328,7 +2328,7 @@
                 \exp_not:N \exp_after:wN
                 \exp_not:c { @@_delimit_by_ #2 :w }
                 \exp_not:N \token_to_meaning:N ####1
-                ? \tl_to_str:n {#2} \exp_not:N \s_@@_stop
+                ? \tl_to_str:n {#2} \s_@@_stop
               }
               { \exp_not:n {#3} }
               { \exp_not:N \prg_return_true: }
@@ -2420,17 +2420,17 @@
           {
             \exp_not:N \exp_after:wN \exp_not:N \@@_if_primitive:NNw
             \exp_not:N \token_to_meaning:N ##1
-              \tl_to_str:n { : : : } \exp_not:N \s_@@_stop ##1
+              \tl_to_str:n { : : : } \s_@@_stop ##1
           }
       }
     \cs_new:Npn \exp_not:N \@@_if_primitive:NNw
-      ##1##2 ##3 \c_colon_str ##4 \exp_not:N \s_@@_stop
+      ##1##2 ##3 \c_colon_str ##4 \s_@@_stop
       {
         \exp_not:N \tl_if_empty:oTF
           { \exp_not:N \@@_if_primitive_space:w ##3 ~ }
           {
             \exp_not:N \@@_if_primitive_loop:N ##3
-              \c_colon_str \exp_not:N \s_@@_stop
+              \c_colon_str \s_@@_stop
           }
           { \exp_not:N \@@_if_primitive_nullfont:N }
       }
diff --git a/l3packages/xtemplate/xtemplate.dtx b/l3packages/xtemplate/xtemplate.dtx
index 2c5b88dab..0fc0e1239 100644
--- a/l3packages/xtemplate/xtemplate.dtx
+++ b/l3packages/xtemplate/xtemplate.dtx
@@ -1334,7 +1334,7 @@
 \use:x
   {
     \cs_new_protected:Npn \exp_not:N \@@_split_keytype_aux:w
-      ##1 \token_to_str:N : ##2 \exp_not:N \s_@@_stop
+      ##1 \token_to_str:N : ##2 \s_@@_stop
       {
         \tl_put_right:Nx \exp_not:N \l_@@_key_name_tl
           { \exp_not:N \tl_to_str:n {##1} }
@@ -1342,7 +1342,7 @@
           {
             \tl_put_right:Nn \exp_not:N \l_@@_key_name_tl
               { \token_to_str:N : }
-            \exp_not:N \@@_split_keytype_aux:w ##2 \exp_not:N \s_@@_stop
+            \exp_not:N \@@_split_keytype_aux:w ##2 \s_@@_stop
           }
           {
             \exp_not:N \tl_if_empty:NTF \exp_not:N \l_@@_key_name_tl
diff --git a/l3trial/l3fp-extras/l3fp-types.dtx b/l3trial/l3fp-extras/l3fp-types.dtx
index 3cdd98787..f3f649226 100644
--- a/l3trial/l3fp-extras/l3fp-types.dtx
+++ b/l3trial/l3fp-extras/l3fp-types.dtx
@@ -121,17 +121,17 @@
 \cs_new:Npx \@@_types_cs_to_op:N #1
   {
     \exp_not:N \exp_after:wN \exp_not:N \@@_types_cs_to_op_auxi:wwwn
-      \exp_not:N \token_to_str:N #1 \exp_not:N \s_@@_mark
+      \exp_not:N \token_to_str:N #1 \s_@@_mark
       \exp_not:N \@@_use_i_delimit_by_s_stop:nw
-      \tl_to_str:n { _ _ fp _ _ o : w } \exp_not:N \s_@@_mark
+      \tl_to_str:n { _ _ fp _ _ o : w } \s_@@_mark
         { \exp_not:N \@@_use_i_delimit_by_s_stop:nw ? }
-      \exp_not:N \s_@@_stop
+      \s_@@_stop
   }
 \use:x
   {
     \cs_new:Npn \exp_not:N \@@_types_cs_to_op_auxi:wwwn
       ##1 \tl_to_str:n { _ _ fp _ } ##2
-      \tl_to_str:n { _ o : w } ##3 \exp_not:N \s_@@_mark ##4 { ##4 {##2} }
+      \tl_to_str:n { _ o : w } ##3 \s_@@_mark ##4 { ##4 {##2} }
   }
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list.