[latex3-commits] [git/latex3] master: Turn on check-declarations in all test files (except some m3expl) (3ff3180)

Bruno Le Floch bruno at le-floch.fr
Wed Nov 29 16:34:27 CET 2017


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/3ff3180046c6037da978bd8f90464c74073925e7

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

commit 3ff3180046c6037da978bd8f90464c74073925e7
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Wed Nov 29 10:17:40 2017 -0500

    Turn on check-declarations in all test files (except some m3expl)
    
    This lead to detecting a couple minor bugs/misuses.


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

3ff3180046c6037da978bd8f90464c74073925e7
 l3experimental/xcoffins/testfiles/xcoffins002.lvt  |    4 +-
 l3experimental/xcoffins/testfiles/xcoffins003.lvt  |    4 +-
 l3kernel/testfiles/m3seq007.lvt                    |    2 +-
 l3kernel/testfiles/m3seq008.lvt                    |    2 +-
 l3kernel/testfiles/m3sort001.lvt                   |    2 +-
 l3kernel/testfiles/m3sort002.lvt                   |    2 +-
 l3packages/xfrac/testfiles/xfrac000.lvt            |    2 +-
 l3packages/xparse/testfiles/xparse001.lvt          |    1 +
 l3packages/xparse/testfiles/xparse002.lvt          |    6 +--
 l3packages/xparse/testfiles/xparse003.lvt          |    3 +-
 l3packages/xparse/testfiles/xparse004.lvt          |    2 +-
 .../xtemplate/testfiles-broken/xtemplate004.lvt    |    3 +-
 l3packages/xtemplate/testfiles/xtemplate001.lvt    |    4 +-
 l3packages/xtemplate/testfiles/xtemplate002.lvt    |    3 +-
 l3packages/xtemplate/testfiles/xtemplate003.lvt    |    4 +-
 l3packages/xtemplate/testfiles/xtemplate005.lvt    |    4 +-
 l3packages/xtemplate/xtemplate.dtx                 |   46 ++++++++++++++++----
 l3trial/l3hooks/testfiles/m3hooks001.lvt           |    5 ++-
 l3trial/l3hooks/testfiles/m3hooks002.lvt           |    5 ++-
 l3trial/l3htoks/testfiles/m3htoks001.lvt           |    5 ++-
 l3trial/l3kernel-extras/l3kernel-extras.dtx        |    1 +
 .../testfiles/m3kernel-extras003.lvt               |    4 +-
 .../testfiles/m3kernel-extras004.lvt               |    4 +-
 .../testfiles/m3kernel-extras006.lvt               |    4 +-
 .../testfiles/m3kernel-extras007.lvt               |    4 +-
 .../testfiles/m3kernel-extras008.lvt               |    4 +-
 .../testfiles/m3kernel-extras009.lvt               |    4 +-
 l3trial/l3ldb/l3ldb.dtx                            |    4 ++
 l3trial/l3ldb/l3precom.dtx                         |    2 +-
 l3trial/l3ldb/testfiles/m3ldb001.lvt               |    4 +-
 l3trial/l3ldb/testfiles/m3ldb002.lvt               |    4 +-
 l3trial/l3ldb/testfiles/m3ldb003.lvt               |    4 +-
 32 files changed, 97 insertions(+), 55 deletions(-)

diff --git a/l3experimental/xcoffins/testfiles/xcoffins002.lvt b/l3experimental/xcoffins/testfiles/xcoffins002.lvt
index 7c34386..dec8190 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins002.lvt
+++ b/l3experimental/xcoffins/testfiles/xcoffins002.lvt
@@ -1,10 +1,10 @@
 %
-% Copyright (C) 2010-2011 LaTeX3 Project
+% Copyright (C) 2010-2011,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[native-drivers]{expl3}
+\RequirePackage[native-drivers,check-declarations]{expl3}
 \RequirePackage{xcoffins}
 
 \begin{document}
diff --git a/l3experimental/xcoffins/testfiles/xcoffins003.lvt b/l3experimental/xcoffins/testfiles/xcoffins003.lvt
index 2d8fdb1..17adc12 100644
--- a/l3experimental/xcoffins/testfiles/xcoffins003.lvt
+++ b/l3experimental/xcoffins/testfiles/xcoffins003.lvt
@@ -1,10 +1,10 @@
 %
-% Copyright (C) 2010-2012,2014 LaTeX3 Project
+% Copyright (C) 2010-2012,2014,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[native-drivers]{expl3}
+\RequirePackage[native-drivers,check-declarations]{expl3}
 \RequirePackage{xcoffins}
 
 \begin{document}
diff --git a/l3kernel/testfiles/m3seq007.lvt b/l3kernel/testfiles/m3seq007.lvt
index 35a4107..61f55b1 100644
--- a/l3kernel/testfiles/m3seq007.lvt
+++ b/l3kernel/testfiles/m3seq007.lvt
@@ -8,7 +8,7 @@
 % Leave some padding so that the line numbers
 % of the tests don't change later on.
 
-\RequirePackage[log-functions,native-drivers]{expl3}
+\RequirePackage[log-functions,native-drivers,check-declarations]{expl3}
 
 \begin{document}
 \START
diff --git a/l3kernel/testfiles/m3seq008.lvt b/l3kernel/testfiles/m3seq008.lvt
index 4370bb2..4214ecb 100644
--- a/l3kernel/testfiles/m3seq008.lvt
+++ b/l3kernel/testfiles/m3seq008.lvt
@@ -8,7 +8,7 @@
 % Leave some padding so that the line numbers
 % of the tests don't change later on.
 
-\RequirePackage[log-functions,native-drivers]{expl3}
+\RequirePackage[log-functions,native-drivers,check-declarations]{expl3}
 
 \begin{document}
 \START
diff --git a/l3kernel/testfiles/m3sort001.lvt b/l3kernel/testfiles/m3sort001.lvt
index 9142fb2..13f8be6 100644
--- a/l3kernel/testfiles/m3sort001.lvt
+++ b/l3kernel/testfiles/m3sort001.lvt
@@ -3,7 +3,7 @@
 %
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage{expl3}
+\RequirePackage[check-declarations]{expl3}
 
 \begin{document}
 
diff --git a/l3kernel/testfiles/m3sort002.lvt b/l3kernel/testfiles/m3sort002.lvt
index 8b93e71..2cd681c 100644
--- a/l3kernel/testfiles/m3sort002.lvt
+++ b/l3kernel/testfiles/m3sort002.lvt
@@ -3,7 +3,7 @@
 %
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage{expl3}
+\RequirePackage[check-declarations]{expl3}
 
 \begin{document}
 
diff --git a/l3packages/xfrac/testfiles/xfrac000.lvt b/l3packages/xfrac/testfiles/xfrac000.lvt
index 70a0316..9a79321 100644
--- a/l3packages/xfrac/testfiles/xfrac000.lvt
+++ b/l3packages/xfrac/testfiles/xfrac000.lvt
@@ -4,7 +4,7 @@
 
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[enable-debug]{expl3}
+\RequirePackage[enable-debug,check-declarations]{expl3}
 \RequirePackage{amstext,graphicx,l3keys2e,textcomp,xparse,xtemplate}
 \ExplSyntaxOn
 \debug_on:n { deprecation }
diff --git a/l3packages/xparse/testfiles/xparse001.lvt b/l3packages/xparse/testfiles/xparse001.lvt
index 84cc870..a87ac2d 100644
--- a/l3packages/xparse/testfiles/xparse001.lvt
+++ b/l3packages/xparse/testfiles/xparse001.lvt
@@ -5,6 +5,7 @@
 \documentclass{minimal}
 \input{regression-test}
 
+\RequirePackage[check-declarations]{expl3}
 \RequirePackage{xparse}
 
 \begin{document}
diff --git a/l3packages/xparse/testfiles/xparse002.lvt b/l3packages/xparse/testfiles/xparse002.lvt
index 9fd56dc..d92699c 100644
--- a/l3packages/xparse/testfiles/xparse002.lvt
+++ b/l3packages/xparse/testfiles/xparse002.lvt
@@ -1,10 +1,10 @@
 %
-% Copyright (C) 2009-2012,2014,2015 LaTeX3 Project
+% Copyright (C) 2009-2012,2014,2015,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
-
+\RequirePackage[check-declarations]{expl3}
 \RequirePackage{xparse}
 
 \begin{document}
@@ -177,7 +177,7 @@
   \foo
   \foo (3)
 }
-
+\OMIT\tl_new:N \test \TIMO
 \TEST{Optional~argument~tests~expand~(expect~T/F/F/F/T)}{
   \DeclareDocumentCommand \foo { o m }
     { \tl_set:Nx \test { \IfNoValueTF {#1} {TRUE} {FALSE} }
diff --git a/l3packages/xparse/testfiles/xparse003.lvt b/l3packages/xparse/testfiles/xparse003.lvt
index 396e450..7c0d5e9 100644
--- a/l3packages/xparse/testfiles/xparse003.lvt
+++ b/l3packages/xparse/testfiles/xparse003.lvt
@@ -1,10 +1,11 @@
 %
-% Copyright (C) 2011-2012,2014 LaTeX3 Project
+% Copyright (C) 2011-2012,2014,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
 
+\RequirePackage[check-declarations]{expl3}
 \RequirePackage{xparse}
 
 \begin{document}
diff --git a/l3packages/xparse/testfiles/xparse004.lvt b/l3packages/xparse/testfiles/xparse004.lvt
index f06e2f8..16f9272 100644
--- a/l3packages/xparse/testfiles/xparse004.lvt
+++ b/l3packages/xparse/testfiles/xparse004.lvt
@@ -4,7 +4,7 @@
 
 \documentclass{minimal}
 \input{regression-test}
-
+\RequirePackage[check-declarations]{expl3}
 \RequirePackage{xparse}
 
 \begin{document}
diff --git a/l3packages/xtemplate/testfiles-broken/xtemplate004.lvt b/l3packages/xtemplate/testfiles-broken/xtemplate004.lvt
index aaf8e10..a4529ce 100644
--- a/l3packages/xtemplate/testfiles-broken/xtemplate004.lvt
+++ b/l3packages/xtemplate/testfiles-broken/xtemplate004.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2009 LaTeX3 Project
+% Copyright (C) 2009,2017 LaTeX3 Project
 %
 % contains all tests for which I think we should first have to decide if
 % something needs updating or not
@@ -7,6 +7,7 @@
 \documentclass{minimal}
 \input{regression-test}
 
+\RequirePackage[check-declarations]{expl3}
 \RequirePackage{xtemplate}
 
 \begin{document}
diff --git a/l3packages/xtemplate/testfiles/xtemplate001.lvt b/l3packages/xtemplate/testfiles/xtemplate001.lvt
index 21d15d5..21ae0fb 100644
--- a/l3packages/xtemplate/testfiles/xtemplate001.lvt
+++ b/l3packages/xtemplate/testfiles/xtemplate001.lvt
@@ -1,10 +1,10 @@
 %
-% Copyright (C) 2009 LaTeX3 Project
+% Copyright (C) 2009,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[log-functions]{expl3}
+\RequirePackage[log-functions,check-declarations]{expl3}
 \RequirePackage{xtemplate}
 
 \begin{document}
diff --git a/l3packages/xtemplate/testfiles/xtemplate002.lvt b/l3packages/xtemplate/testfiles/xtemplate002.lvt
index 63c94fa..af0488f 100644
--- a/l3packages/xtemplate/testfiles/xtemplate002.lvt
+++ b/l3packages/xtemplate/testfiles/xtemplate002.lvt
@@ -1,10 +1,11 @@
 %
-% Copyright (C) 2009 LaTeX3 Project
+% Copyright (C) 2009,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
 
+\RequirePackage[check-declarations]{expl3}
 \RequirePackage{xtemplate}
 
 \begin{document}
diff --git a/l3packages/xtemplate/testfiles/xtemplate003.lvt b/l3packages/xtemplate/testfiles/xtemplate003.lvt
index c210c6e..31d3325 100644
--- a/l3packages/xtemplate/testfiles/xtemplate003.lvt
+++ b/l3packages/xtemplate/testfiles/xtemplate003.lvt
@@ -1,10 +1,10 @@
 %
-% Copyright (C) 2009 LaTeX3 Project
+% Copyright (C) 2009,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[log-functions]{expl3}
+\RequirePackage[log-functions,check-declarations]{expl3}
 \RequirePackage{xtemplate}
 
 \begin{document}
diff --git a/l3packages/xtemplate/testfiles/xtemplate005.lvt b/l3packages/xtemplate/testfiles/xtemplate005.lvt
index 0153089..3976091 100644
--- a/l3packages/xtemplate/testfiles/xtemplate005.lvt
+++ b/l3packages/xtemplate/testfiles/xtemplate005.lvt
@@ -1,10 +1,10 @@
 %
-% Copyright (C) 2012 LaTeX3 Project
+% Copyright (C) 2012,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
 \input{regression-test}
-\RequirePackage[log-functions]{expl3}
+\RequirePackage[log-functions,check-declarations]{expl3}
 \RequirePackage{xtemplate}
 
 \begin{document}
diff --git a/l3packages/xtemplate/xtemplate.dtx b/l3packages/xtemplate/xtemplate.dtx
index c62dae4..4bedd65 100644
--- a/l3packages/xtemplate/xtemplate.dtx
+++ b/l3packages/xtemplate/xtemplate.dtx
@@ -1069,34 +1069,64 @@
 % \begin{macro}{\@@_recover_vars:n}
 %   Recovering the stored data for a template is rather less complex
 %   than storing it. All that happens is the data is  transferred from
-%   the permanent to the scratch storage.
+%   the permanent to the scratch storage.  However, we need to check the
+%   scratch storage does exist.
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_recover_defaults:n #1
   {
-    \prop_set_eq:Nc \l_@@_values_prop
+    \prop_if_exist:cTF
       { \c_@@_defaults_root_tl #1 }
+      {
+        \prop_set_eq:Nc \l_@@_values_prop
+          { \c_@@_defaults_root_tl #1 }
+      }
+      { \prop_clear:N \l_@@_values_prop }
   }
 \cs_new_protected:Npn \@@_recover_keytypes:n #1
   {
-    \prop_set_eq:Nc \l_@@_keytypes_prop
+    \prop_if_exist:cTF
       { \c_@@_keytypes_root_tl #1 }
-    \seq_set_eq:Nc \l_@@_key_order_seq
-      { \c_@@_key_order_root_tl #1 }
+      {
+        \prop_set_eq:Nc \l_@@_keytypes_prop
+          { \c_@@_keytypes_root_tl #1 }
+      }
+      { \prop_clear:N \l_@@_keytypes_prop }
+    \seq_if_exist:cTF { \c_@@_key_order_root_tl #1 }
+      {
+        \seq_set_eq:Nc \l_@@_key_order_seq
+          { \c_@@_key_order_root_tl #1 }
+      }
+      { \seq_clear:N \l_@@_key_order_seq }
   }
 \cs_new_protected:Npn \@@_recover_restrictions:n #1
   {
-    \clist_set_eq:Nc \l_@@_restrict_clist
+    \clist_if_exist:cTF
       { \c_@@_restrict_root_tl #1 }
+      {
+        \clist_set_eq:Nc \l_@@_restrict_clist
+          { \c_@@_restrict_root_tl #1 }
+      }
+      { \clist_clear:N \l_@@_restrict_clist }
   }
 \cs_new_protected:Npn \@@_recover_values:n #1
   {
-    \prop_set_eq:Nc \l_@@_values_prop
+    \prop_if_exist:cTF
       { \c_@@_values_root_tl #1 }
+      {
+        \prop_set_eq:Nc \l_@@_values_prop
+          { \c_@@_values_root_tl #1 }
+      }
+      { \prop_clear:N \l_@@_values_prop }
   }
 \cs_new_protected:Npn \@@_recover_vars:n #1
   {
-    \prop_set_eq:Nc \l_@@_vars_prop
+    \prop_if_exist:cTF
       { \c_@@_vars_root_tl #1 }
+      {
+        \prop_set_eq:Nc \l_@@_vars_prop
+          { \c_@@_vars_root_tl #1 }
+      }
+      { \prop_clear:N \l_@@_vars_prop }
   }
 %    \end{macrocode}
 % \end{macro}
diff --git a/l3trial/l3hooks/testfiles/m3hooks001.lvt b/l3trial/l3hooks/testfiles/m3hooks001.lvt
index 0d8f3f8..7637bbe 100644
--- a/l3trial/l3hooks/testfiles/m3hooks001.lvt
+++ b/l3trial/l3hooks/testfiles/m3hooks001.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2011,2014,2016 LaTeX3 Project
+% Copyright (C) 2011,2014,2016,2017 LaTeX3 Project
 %
 
 \documentclass{article}
@@ -8,7 +8,8 @@
 \AUTHOR{Bruno Le Floch}
 
 % \immediate\write18{tex l3hooks.dtx}
-\usepackage{expl3,l3hooks}
+\RequirePackage[check-declarations]{expl3}
+\RequirePackage{l3hooks}
 
 % Avoid some engine-dependent warnings
 \makeatletter
diff --git a/l3trial/l3hooks/testfiles/m3hooks002.lvt b/l3trial/l3hooks/testfiles/m3hooks002.lvt
index defe546..b6453df 100644
--- a/l3trial/l3hooks/testfiles/m3hooks002.lvt
+++ b/l3trial/l3hooks/testfiles/m3hooks002.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2011,2016 LaTeX3 Project
+% Copyright (C) 2011,2016,2017 LaTeX3 Project
 %
 
 \documentclass{article}
@@ -7,7 +7,8 @@
 
 \AUTHOR{Bruno Le Floch}
 
-\usepackage{expl3,l3hooks}
+\RequirePackage[check-declarations]{expl3}
+\RequirePackage{l3hooks}
 \showboxbreadth = 20
 \showboxdepth   = 10
 
diff --git a/l3trial/l3htoks/testfiles/m3htoks001.lvt b/l3trial/l3htoks/testfiles/m3htoks001.lvt
index c4b8534..51cd771 100644
--- a/l3trial/l3htoks/testfiles/m3htoks001.lvt
+++ b/l3trial/l3htoks/testfiles/m3htoks001.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2013 LaTeX3 Project
+% Copyright (C) 2013,2017 LaTeX3 Project
 %
 
 \documentclass{article}
@@ -7,7 +7,8 @@
 
 \AUTHOR{Bruno Le Floch}
 
-\usepackage{expl3,l3htoks}
+\RequirePackage[check-declarations]{expl3}
+\RequirePackage{l3htoks}
 \showboxbreadth = 20
 \showboxdepth   = 10
 % \errorcontextlines=999
diff --git a/l3trial/l3kernel-extras/l3kernel-extras.dtx b/l3trial/l3kernel-extras/l3kernel-extras.dtx
index be6b3ef..179d4db 100644
--- a/l3trial/l3kernel-extras/l3kernel-extras.dtx
+++ b/l3trial/l3kernel-extras/l3kernel-extras.dtx
@@ -999,6 +999,7 @@
 \int_new:N \l__char_code_int
 \tl_new:N \l__char_lowercase_tl
 \tl_new:N \l__char_uppercase_tl
+\tl_new:N \l__char_internal_tl
 \cs_new_protected:Npn \char_show:N #1 { \char_show:n { `#1 } }
 \cs_new_protected:Npn \char_show:n #1
   {
diff --git a/l3trial/l3kernel-extras/testfiles/m3kernel-extras003.lvt b/l3trial/l3kernel-extras/testfiles/m3kernel-extras003.lvt
index dcb8563..74152ac 100644
--- a/l3trial/l3kernel-extras/testfiles/m3kernel-extras003.lvt
+++ b/l3trial/l3kernel-extras/testfiles/m3kernel-extras003.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2012 LaTeX3 Project
+% Copyright (C) 2012,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
@@ -9,7 +9,7 @@
 % Leave some padding so that the line numbers
 % of the tests don't change later on.
 
-\RequirePackage[log-functions,native-drivers]{expl3}
+\RequirePackage[log-functions,native-drivers,check-declarations]{expl3}
 \RequirePackage{l3kernel-extras}
 
 \begin{document}
diff --git a/l3trial/l3kernel-extras/testfiles/m3kernel-extras004.lvt b/l3trial/l3kernel-extras/testfiles/m3kernel-extras004.lvt
index 7cd3f28..b994fdf 100644
--- a/l3trial/l3kernel-extras/testfiles/m3kernel-extras004.lvt
+++ b/l3trial/l3kernel-extras/testfiles/m3kernel-extras004.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2012 LaTeX3 Project
+% Copyright (C) 2012,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
@@ -9,7 +9,7 @@
 % Leave some padding so that the line numbers
 % of the tests don't change later on.
 
-\RequirePackage[log-functions,native-drivers]{expl3}
+\RequirePackage[log-functions,native-drivers,check-declarations]{expl3}
 \RequirePackage{l3kernel-extras}
 
 \begin{document}
diff --git a/l3trial/l3kernel-extras/testfiles/m3kernel-extras006.lvt b/l3trial/l3kernel-extras/testfiles/m3kernel-extras006.lvt
index a41d5b8..86f16d3 100644
--- a/l3trial/l3kernel-extras/testfiles/m3kernel-extras006.lvt
+++ b/l3trial/l3kernel-extras/testfiles/m3kernel-extras006.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2012 LaTeX3 Project
+% Copyright (C) 2012,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
@@ -9,7 +9,7 @@
 % Leave some padding so that the line numbers
 % of the tests don't change later on.
 
-\RequirePackage[log-functions,native-drivers]{expl3}
+\RequirePackage[log-functions,native-drivers,check-declarations]{expl3}
 \RequirePackage{l3kernel-extras}
 
 \begin{document}
diff --git a/l3trial/l3kernel-extras/testfiles/m3kernel-extras007.lvt b/l3trial/l3kernel-extras/testfiles/m3kernel-extras007.lvt
index b19feaa..aefc2ab 100644
--- a/l3trial/l3kernel-extras/testfiles/m3kernel-extras007.lvt
+++ b/l3trial/l3kernel-extras/testfiles/m3kernel-extras007.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2012 LaTeX3 Project
+% Copyright (C) 2012,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
@@ -9,7 +9,7 @@
 % Leave some padding so that the line numbers
 % of the tests don't change later on.
 
-\RequirePackage[log-functions,native-drivers]{expl3}
+\RequirePackage[log-functions,native-drivers,check-declarations]{expl3}
 \RequirePackage{l3kernel-extras}
 
 \begin{document}
diff --git a/l3trial/l3kernel-extras/testfiles/m3kernel-extras008.lvt b/l3trial/l3kernel-extras/testfiles/m3kernel-extras008.lvt
index b945c28..9b5fd4f 100644
--- a/l3trial/l3kernel-extras/testfiles/m3kernel-extras008.lvt
+++ b/l3trial/l3kernel-extras/testfiles/m3kernel-extras008.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2012 LaTeX3 Project
+% Copyright (C) 2012,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
@@ -9,7 +9,7 @@
 % Leave some padding so that the line numbers
 % of the tests don't change later on.
 
-\RequirePackage[log-functions,native-drivers]{expl3}
+\RequirePackage[log-functions,native-drivers,check-declarations]{expl3}
 \RequirePackage{l3kernel-extras}
 
 \begin{document}
diff --git a/l3trial/l3kernel-extras/testfiles/m3kernel-extras009.lvt b/l3trial/l3kernel-extras/testfiles/m3kernel-extras009.lvt
index adb9980..e49874b 100644
--- a/l3trial/l3kernel-extras/testfiles/m3kernel-extras009.lvt
+++ b/l3trial/l3kernel-extras/testfiles/m3kernel-extras009.lvt
@@ -1,5 +1,5 @@
 %
-% Copyright (C) 2012 LaTeX3 Project
+% Copyright (C) 2012,2017 LaTeX3 Project
 %
 
 \documentclass{minimal}
@@ -10,7 +10,7 @@
 % of the tests don't change later on.
 
 
-\RequirePackage[log-functions,native-drivers]{expl3}
+\RequirePackage[log-functions,native-drivers,check-declarations]{expl3}
 \RequirePackage{l3kernel-extras}
 
 \begin{document}
diff --git a/l3trial/l3ldb/l3ldb.dtx b/l3trial/l3ldb/l3ldb.dtx
index 5307013..87e6614 100644
--- a/l3trial/l3ldb/l3ldb.dtx
+++ b/l3trial/l3ldb/l3ldb.dtx
@@ -238,6 +238,10 @@
 %
 % \subsection{Variables and helpers}
 %
+%    \begin{macrocode}
+\tl_new:N \l_ldb_new_sbml_tl
+%    \end{macrocode}
+%
 % \begin{variable}{\l_ldb_internal_tl, \g_ldb_internal_tl}
 %   Scratch variables used for various purposes.
 %    \begin{macrocode}
diff --git a/l3trial/l3ldb/l3precom.dtx b/l3trial/l3ldb/l3precom.dtx
index 2c1e579..a222271 100644
--- a/l3trial/l3ldb/l3precom.dtx
+++ b/l3trial/l3ldb/l3precom.dtx
@@ -264,7 +264,7 @@
 \cs_new_protected:Npn \cs_ggen_prop:N #1
   {
     \cs_ggen_sym:N #1
-    \exp_after:wN \prop_clear:N #1
+    \exp_after:wN \prop_gclear:N #1
   }
 %    \end{macrocode}
 % \end{macro}
diff --git a/l3trial/l3ldb/testfiles/m3ldb001.lvt b/l3trial/l3ldb/testfiles/m3ldb001.lvt
index bb1c005..4f352ed 100644
--- a/l3trial/l3ldb/testfiles/m3ldb001.lvt
+++ b/l3trial/l3ldb/testfiles/m3ldb001.lvt
@@ -1,12 +1,12 @@
 %
-% Copyright (C) 2012 The LaTeX3 Project
+% Copyright (C) 2012,2017 The LaTeX3 Project
 %
 
 % \documentstyle[paras]{xarticle}
 \documentclass{article}
 \input{regression-test}
 
-\usepackage{expl3}
+\usepackage[check-declarations]{expl3}
 \usepackage{l3ldb}
 
 \START
diff --git a/l3trial/l3ldb/testfiles/m3ldb002.lvt b/l3trial/l3ldb/testfiles/m3ldb002.lvt
index 379ad7e..3ffdc5a 100644
--- a/l3trial/l3ldb/testfiles/m3ldb002.lvt
+++ b/l3trial/l3ldb/testfiles/m3ldb002.lvt
@@ -1,11 +1,11 @@
 %
-% Copyright (C) 2012 The LaTeX3 Project
+% Copyright (C) 2012,2017 The LaTeX3 Project
 %
 
 \documentclass{article}
 \input{regression-test}
 
-\usepackage{expl3}
+\usepackage[check-declarations]{expl3}
 \usepackage{l3ldb}
 
 \START
diff --git a/l3trial/l3ldb/testfiles/m3ldb003.lvt b/l3trial/l3ldb/testfiles/m3ldb003.lvt
index 9775110..8e4e645 100644
--- a/l3trial/l3ldb/testfiles/m3ldb003.lvt
+++ b/l3trial/l3ldb/testfiles/m3ldb003.lvt
@@ -1,10 +1,10 @@
 %
-% Copyright (C) 2012 The LaTeX3 Project
+% Copyright (C) 2012,2017 The LaTeX3 Project
 %
 \documentclass{article}
 \input{regression-test}
 
-\usepackage{expl3}
+\usepackage[check-declarations]{expl3}
 \usepackage{xtemplate}
 \usepackage{l3ldb}
 





More information about the latex3-commits mailing list