[latex3-commits] [git/LaTeX3-latex3-latex3] morechk: better tidying up (5ee976f)

Will Robertson wspr81 at gmail.com
Mon Feb 4 13:04:20 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : morechk
Link       : https://github.com/latex3/latex3/commit/5ee976f0b1a06219878af848c96cd5d1da948ccc

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

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

    better tidying up


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

5ee976f0b1a06219878af848c96cd5d1da948ccc
 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 c5b8304..6f0b074 100644
--- a/l3kernel/l3int.dtx
+++ b/l3kernel/l3int.dtx
@@ -1444,7 +1444,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 f434e87..3c1fc50 100644
--- a/l3kernel/l3skip.dtx
+++ b/l3kernel/l3skip.dtx
@@ -1672,7 +1672,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:
       }
   }
@@ -2028,7 +2028,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:
       }
   }
@@ -2309,7 +2309,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