[latex3-commits] [git/LaTeX3-latex3-latex2e] TL21-2-kernel-msgs: drop commented out message texts (5a4218d2)

Frank Mittelbach frank.mittelbach at latex-project.org
Tue Jun 8 21:26:12 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : TL21-2-kernel-msgs
Link       : https://github.com/latex3/latex2e/commit/5a4218d200bf064299cd3b7d9fccb70c035db961

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

commit 5a4218d200bf064299cd3b7d9fccb70c035db961
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Jun 8 21:26:12 2021 +0200

    drop commented out message texts


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

5a4218d200bf064299cd3b7d9fccb70c035db961
 base/ltcmd.dtx                    | 14 +-------------
 base/testfiles-ltcmd/ltcmd007.tlg |  3 +--
 2 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 27155b3e..a01a8d32 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -3506,8 +3506,6 @@
 % Some messages intended as errors when defining commands/environments.
 %    \begin{macrocode}
 \msg_new:nnnn { cmd } { arg-after-body }
-%  { Invalid~argument~type~'#2'~in~#1. }
-%  { Argument~'#2'~invalid'~after~'b'~in~#1. }
   { Argument~type~'b'~must~be~last~in~#1. }
   {
     The~'b'~argument~type~must~come~last~but~it~is~followed~
@@ -3557,7 +3555,6 @@
     argument~with~expandable~commands.
   }
 \msg_new:nnnn { cmd } { long-short-mix }
-%  { Inconsistent~long~arguments~for~expandable~command~'#1'. }
   { Invalid~argument~prefix~'+'~in~command~'#1'. }
   {
     The~arguments~for~an~expandable~command~must~not~involve~short~
@@ -3580,18 +3577,13 @@
     \c_@@_ignore_def_tl
   }
 \msg_new:nnnn { cmd } { invalid-after-optional-expandably }
-%  { Invalid~argument~type~'#2'~in~#1. }
-  {
-    Argument~type~'#2'~not~available~after~optional~argument~
-    for~expandable~command~'#1'.
-  }
+  { Argument~'#2'~invalid~after~optional~arg~in~#1. }
   {
     The~letter~'#2'~specifies~an~argument~type~which~cannot~be~used~
     in~an~expandable~command~after~an~optional~argument.
     \c_@@_ignore_def_tl
   }
 \msg_new:nnnn { cmd } { invalid-bang }
-%  { Prefix~'!'~used~before~mandatory~argument~'#2'~of~#1. }
   { Invalid~argument~prefix~'!'~in~#1. }
   {
     The~prefix~'!'~is~only~allowed~for~trailing~optional~arguments.~
@@ -3631,7 +3623,6 @@
     \c_@@_ignore_def_tl
   }
 \msg_new:nnnn { cmd } { processor-in-expandable }
-%  { Argument~processor~'>{#2}'~cannot~be~used~for~the~expandable~command~'#1'. }
   { Invalid~argument~prefix~'>'~in~command~'#1'. }
   {
     The~argument~specification~for~'#1'~contains~the~processor~function~'>{#2}'.~
@@ -3647,7 +3638,6 @@
   }
 \msg_new:nnnn { cmd } { two-markers }
   { Invalid~argument~prefix~'#2'~in~#1. }
-%  { Two~'#2'~apply~to~the~same~argument~in~argument~specification~of~#1. }
   {
     The~argument~specification~provided~for~#1~has~two~'#2'~markers~applied~
     to~the~same~argument;~one~is~redundant.
@@ -3673,7 +3663,6 @@
 % be expandable or not expandable.
 %    \begin{macrocode}
 \msg_new:nnn { cmd } { if-boolean }
-%  { Invalid~use~\iow_char:N\\IfBooleanTF{#1}... }
   { Invalid~argument~{#1}~to~\iow_char:N\\IfBoolean... }
 \msg_new:nnnn { cmd } { default-loop }
   { Circular~dependency~in~defaults~of~#1. }
@@ -3682,7 +3671,6 @@
     depend~on~each~other~in~a~way~that~cannot~be~resolved.
   }
 \msg_new:nnnn { cmd } { missing-required }
-%  { Missing~required~argument~for~#1. }
   { Required~argument~missing~for~#1. }
   {
     The~#1~expects~one~of~its~arguments~to~start~with~'#2'.~
diff --git a/base/testfiles-ltcmd/ltcmd007.tlg b/base/testfiles-ltcmd/ltcmd007.tlg
index c322d68f..c6f0d937 100644
--- a/base/testfiles-ltcmd/ltcmd007.tlg
+++ b/base/testfiles-ltcmd/ltcmd007.tlg
@@ -83,8 +83,7 @@ LaTeX cmd Warning: Optional and mandatory argument with same delimiter '{'.
 (cmd)              arguments when calling this command.
 (cmd)              
 (cmd)              This may be intentional, but then it might be a mistake.
-! LaTeX cmd Error: Argument type 'l' not available after optional argument for
-(cmd)              expandable command '\dummy'.
+! LaTeX cmd Error: Argument 'l' invalid after optional arg in \dummy.
 For immediate help type H <return>.
  ...                                              
 l. ...  }





More information about the latex3-commits mailing list.