[latex3-commits] [git/LaTeX3-latex3-latex3] morechk: better tidying up (7b21566)

Will Robertson wspr81 at gmail.com
Mon Apr 15 13:45:14 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : morechk
Link       : https://github.com/latex3/latex3/commit/7b21566e60421a4c63bf23a3ba3be5dd05fa4d7c

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

commit 7b21566e60421a4c63bf23a3ba3be5dd05fa4d7c
Author: Will Robertson <wspr81 at gmail.com>
Date:   Thu Jan 17 12:47:56 2019 +1030

    better tidying up


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

7b21566e60421a4c63bf23a3ba3be5dd05fa4d7c
 l3kernel/l3int.dtx                     |    2 +-
 l3kernel/l3skip.dtx                    |    6 +++---
 l3kernel/testfiles/m3chk004.luatex.tlg |    8 ++++----
 l3kernel/testfiles/m3chk004.tlg        |    8 ++++----
 4 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/l3kernel/l3int.dtx b/l3kernel/l3int.dtx
index 455bcf8..91fdbad 100644
--- a/l3kernel/l3int.dtx
+++ b/l3kernel/l3int.dtx
@@ -1481,7 +1481,7 @@
     \cs_new:Npn \int_use:c #1
       {
         \tex_the:D
-        \__kernel_chk_exp_var_exist:cF {#1} { \c_zero_int }
+        \__kernel_chk_exp_var_exist:cF {#1} { \c_zero_int \exp_after:wN \use_none:n }
         \cs:w #1 \cs_end:
       }
   }
diff --git a/l3kernel/l3skip.dtx b/l3kernel/l3skip.dtx
index 0bd8bf3..9a2b1b2 100644
--- a/l3kernel/l3skip.dtx
+++ b/l3kernel/l3skip.dtx
@@ -1676,7 +1676,7 @@
     \cs_new:Npn \dim_use:c #1
       {
         \tex_the:D
-        \__kernel_chk_exp_var_exist:cF {#1} { \c_zero_dim }
+        \__kernel_chk_exp_var_exist:cF {#1} { \c_zero_dim \exp_after:wN \use_none:n }
         \cs:w #1 \cs_end:
       }
   }
@@ -2032,7 +2032,7 @@
     \cs_new:Npn \skip_use:c #1
       {
         \tex_the:D
-        \__kernel_chk_exp_var_exist:cF {#1} { \c_zero_skip }
+        \__kernel_chk_exp_var_exist:cF {#1} { \c_zero_skip \exp_after:wN \use_none:n }
         \cs:w #1 \cs_end:
       }
   }
@@ -2313,7 +2313,7 @@
     \cs_new:Npn \muskip_use:c #1
       {
         \tex_the:D
-        \__kernel_chk_exp_var_exist:cF {#1} { \c_zero_muskip }
+        \__kernel_chk_exp_var_exist:cF {#1} { \c_zero_muskip \exp_after:wN \use_none:n }
         \cs:w #1 \cs_end:
       }
   }
diff --git a/l3kernel/testfiles/m3chk004.luatex.tlg b/l3kernel/testfiles/m3chk004.luatex.tlg
index 831d684..d120f79 100644
--- a/l3kernel/testfiles/m3chk004.luatex.tlg
+++ b/l3kernel/testfiles/m3chk004.luatex.tlg
@@ -172,7 +172,7 @@ of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
-INT:0\l_B_int 
+INT:0
 ============================================================
 ! Undefined control sequence.
 <write> DIM:\dim_use:N \l_B_dim 
@@ -208,7 +208,7 @@ of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
-DIM:0.0pt\l_B_dim 
+DIM:0.0pt
 ============================================================
 ! Undefined control sequence.
 <write> SKIP:\skip_use:N \l_B_skip 
@@ -244,7 +244,7 @@ of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
-SKIP:0.0pt\l_B_skip 
+SKIP:0.0pt
 ============================================================
 ! Undefined control sequence.
 <write> MUSKIP:\muskip_use:N \l_B_muskip 
@@ -280,7 +280,7 @@ of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
-MUSKIP:0.0mu\l_B_muskip 
+MUSKIP:0.0mu
 ============================================================
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 
diff --git a/l3kernel/testfiles/m3chk004.tlg b/l3kernel/testfiles/m3chk004.tlg
index f74e775..44a1f87 100644
--- a/l3kernel/testfiles/m3chk004.tlg
+++ b/l3kernel/testfiles/m3chk004.tlg
@@ -172,7 +172,7 @@ of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
-INT:0\l_B_int 
+INT:0
 ============================================================
 ! Undefined control sequence.
 <write> DIM:\dim_use:N \l_B_dim 
@@ -208,7 +208,7 @@ of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
-DIM:0.0pt\l_B_dim 
+DIM:0.0pt
 ============================================================
 ! Undefined control sequence.
 <write> SKIP:\skip_use:N \l_B_skip 
@@ -244,7 +244,7 @@ of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
-SKIP:0.0pt\l_B_skip 
+SKIP:0.0pt
 ============================================================
 ! Undefined control sequence.
 <write> MUSKIP:\muskip_use:N \l_B_muskip 
@@ -280,7 +280,7 @@ of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
-MUSKIP:0.0mu\l_B_muskip 
+MUSKIP:0.0mu
 ============================================================
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 





More information about the latex3-commits mailing list