[latex3-commits] [latex3/latex3] 1239-bcp47, fp-func, main: Drop 'coding error' from l3fp-extras (c846f6894)

github at latex-project.org github at latex-project.org
Fri Oct 13 19:54:54 CEST 2023


Repository : https://github.com/latex3/latex3
On branches: 1239-bcp47,fp-func,main
Link       : https://github.com/latex3/latex3/commit/c846f689452b0c96a20fb943b0a3625603e52352

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

commit c846f689452b0c96a20fb943b0a3625603e52352
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Jul 5 16:56:26 2023 +0100

    Drop 'coding error' from l3fp-extras
    
    Probably this should happen across the kernel:
    using a msg internal is not a great plan anyway.


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

c846f689452b0c96a20fb943b0a3625603e52352
 l3trial/l3fp-extras/l3fp-symbolic.dtx                     | 3 ---
 l3trial/l3fp-extras/testfiles/m3fp-symbolic001.luatex.tlg | 9 ---------
 l3trial/l3fp-extras/testfiles/m3fp-symbolic001.tlg        | 9 ---------
 3 files changed, 21 deletions(-)

diff --git a/l3trial/l3fp-extras/l3fp-symbolic.dtx b/l3trial/l3fp-extras/l3fp-symbolic.dtx
index 7e579c1f5..0fb4bc2df 100644
--- a/l3trial/l3fp-extras/l3fp-symbolic.dtx
+++ b/l3trial/l3fp-extras/l3fp-symbolic.dtx
@@ -685,14 +685,12 @@
 \msg_new:nnnn { fp } { id-invalid }
   { Floating~point~identifier~'#1'~invalid. }
   {
-    \c__msg_coding_error_text_tl
     LaTeX~has~been~asked~to~create~a~new~floating~point~identifier~'#1'~
     but~this~may~only~contain~ASCII~letters.
   }
 \msg_new:nnnn { fp } { id-already-defined }
   { Floating~point~identifier~'#1'~already~defined. }
   {
-    \c__msg_coding_error_text_tl
     LaTeX~has~been~asked~to~create~a~new~floating~point~identifier~'#1'~
     but~this~name~has~already~been~used~elsewhere.
   }
@@ -705,7 +703,6 @@
 \msg_new:nnnn { fp } { id-loop }
   { Variable~'#1'~used~in~the~definition~of~'#1'. }
   {
-    \c__msg_coding_error_text_tl
     LaTeX~has~been~asked~to~set~the~floating~point~identifier~'#1'~
     to~the~expression~'#2'.~Evaluating~this~expression~yields~'#3',~
     which~contains~'#1'~itself.
diff --git a/l3trial/l3fp-extras/testfiles/m3fp-symbolic001.luatex.tlg b/l3trial/l3fp-extras/testfiles/m3fp-symbolic001.luatex.tlg
index 067c1d2aa..dde063d36 100644
--- a/l3trial/l3fp-extras/testfiles/m3fp-symbolic001.luatex.tlg
+++ b/l3trial/l3fp-extras/testfiles/m3fp-symbolic001.luatex.tlg
@@ -67,35 +67,30 @@ TEST 4: Various variable names
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier '' but this may
 only contain ASCII letters.
 ! LaTeX Error: Floating point identifier 'a b' invalid.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier 'a b' but this
 may only contain ASCII letters.
 ! LaTeX Error: Floating point identifier 'a12' invalid.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier 'a12' but this
 may only contain ASCII letters.
 ! LaTeX Error: Floating point identifier '\\' invalid.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier '\\' but this
 may only contain ASCII letters.
 ! LaTeX Error: Floating point identifier 'a_b' invalid.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier 'a_b' but this
 may only contain ASCII letters.
 Defining \__fp_parse_word_chk:N on line ...
@@ -105,7 +100,6 @@ Defining \__fp_parse_word_tmpa:N on line ...
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier 'pi' but this
 name has already been used elsewhere.
 Defining \__fp_parse_word_pi:N on line ...
@@ -113,7 +107,6 @@ Defining \__fp_parse_word_pi:N on line ...
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier 'inf' but this
 name has already been used elsewhere.
 Defining \__fp_parse_word_inf:N on line ...
@@ -128,7 +121,6 @@ Defining \__fp_parse_word_Y:N on line ...
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to set the floating point identifier 'X' to the
 expression 'sin(X)'. Evaluating this expression yields 'sin(X)', which
 contains 'X' itself.
@@ -142,7 +134,6 @@ l. ...  }
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to set the floating point identifier 'Y' to the
 expression 'X+1'. Evaluating this expression yields '((Y)^(1))+(1)', which
 contains 'Y' itself.
diff --git a/l3trial/l3fp-extras/testfiles/m3fp-symbolic001.tlg b/l3trial/l3fp-extras/testfiles/m3fp-symbolic001.tlg
index f392a8e6e..f271b23aa 100644
--- a/l3trial/l3fp-extras/testfiles/m3fp-symbolic001.tlg
+++ b/l3trial/l3fp-extras/testfiles/m3fp-symbolic001.tlg
@@ -67,35 +67,30 @@ TEST 4: Various variable names
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier '' but this may
 only contain ASCII letters.
 ! LaTeX Error: Floating point identifier 'a b' invalid.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier 'a b' but this
 may only contain ASCII letters.
 ! LaTeX Error: Floating point identifier 'a12' invalid.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier 'a12' but this
 may only contain ASCII letters.
 ! LaTeX Error: Floating point identifier '\\' invalid.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier '\\' but this
 may only contain ASCII letters.
 ! LaTeX Error: Floating point identifier 'a_b' invalid.
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier 'a_b' but this
 may only contain ASCII letters.
 Defining \__fp_parse_word_chk:N on line ...
@@ -105,7 +100,6 @@ Defining \__fp_parse_word_tmpa:N on line ...
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier 'pi' but this
 name has already been used elsewhere.
 Defining \__fp_parse_word_pi:N on line ...
@@ -113,7 +107,6 @@ Defining \__fp_parse_word_pi:N on line ...
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to create a new floating point identifier 'inf' but this
 name has already been used elsewhere.
 Defining \__fp_parse_word_inf:N on line ...
@@ -128,7 +121,6 @@ Defining \__fp_parse_word_Y:N on line ...
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to set the floating point identifier 'X' to the
 expression 'sin(X)'. Evaluating this expression yields 'sin(X)', which
 contains 'X' itself.
@@ -142,7 +134,6 @@ l. ...  }
 For immediate help type H <return>.
  ...                                              
 l. ...  }
-This is a coding error.
 LaTeX has been asked to set the floating point identifier 'Y' to the
 expression 'X+1'. Evaluating this expression yields '((Y)^(1))+(1)', which
 contains 'Y' itself.





More information about the latex3-commits mailing list.