[latex3-commits] [git/LaTeX3-latex3-latex3] master: Use actual messages rather than non-existent command (dde87f4)

Bruno Le Floch bruno at le-floch.fr
Mon Apr 2 03:54:51 CEST 2018


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

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

commit dde87f45aea20ebe41180ae539850943a9dea19a
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Sun Apr 1 21:54:51 2018 -0400

    Use actual messages rather than non-existent command


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

dde87f45aea20ebe41180ae539850943a9dea19a
 l3trial/l3ldb/l3ldb.dtx |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/l3trial/l3ldb/l3ldb.dtx b/l3trial/l3ldb/l3ldb.dtx
index 1373aab..8871452 100644
--- a/l3trial/l3ldb/l3ldb.dtx
+++ b/l3trial/l3ldb/l3ldb.dtx
@@ -490,7 +490,7 @@
         \fi:
         \tl_set_eq:NN \l_ldb_internal_tl \l_ldb_tb_tl
       \or: % end
-        \__kernel_msg_expandable_error:n { Not~possible }
+        \__kernel_msg_expandable_error:nn { ldb } { impossible }
       \or: % complete
         \if_meaning:w \l_ldb_tc_tl \q_nil
           \cs_ggen_prop:N \l_ldb_tc_tl
@@ -814,8 +814,8 @@
   {
     \if_meaning:w \q_nil #2
     \else:
-      \__kernel_msg_expandable_error:n
-        { Not~ nil~ #1:~ \exp_not:N#2~containing:~\tl_to_str:N #2 }
+      \__kernel_msg_expandable_error:nnfff { ldb } { not-nil }
+        { \tl_to_str:n {#1} } { \token_to_str:N #2 } { \tl_to_str:N #2 }
     \fi:
   }
 %    \end{macrocode}
@@ -1234,6 +1234,11 @@
 % \end{macro}
 %
 %    \begin{macrocode}
+\__kernel_msg_new:nnn { ldb } { impossible } { Not~possible }
+\__kernel_msg_new:nnn { ldb } { not-nil } { Not~ nil~ #1:~ #2~containing:~#3 }
+%    \end{macrocode}
+%
+%    \begin{macrocode}
 %</package>
 %    \end{macrocode}
 %





More information about the latex3-commits mailing list