[latex3-commits] [git/LaTeX3-latex3-latex3] master: Correct an error message (cf5f175)

Bruno Le Floch bruno at le-floch.fr
Mon Feb 12 03:02:34 CET 2018


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

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

commit cf5f1750b58a710673ad55b41a5da143bc81b24b
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Sat Feb 10 15:00:25 2018 -0500

    Correct an error message


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

cf5f1750b58a710673ad55b41a5da143bc81b24b
 l3kernel/l3fp-parse.dtx              |    2 +-
 l3kernel/testfiles/m3fp-parse002.tlg |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/l3kernel/l3fp-parse.dtx b/l3kernel/l3fp-parse.dtx
index 98bf937..c85e2f6 100644
--- a/l3kernel/l3fp-parse.dtx
+++ b/l3kernel/l3fp-parse.dtx
@@ -2699,7 +2699,7 @@
 \__kernel_msg_new:nnn { kernel } { fp-unknown-symbol }
   { Unknown~symbol~#1~ignored. }
 \__kernel_msg_new:nnn { kernel } { fp-extra-comma }
-  { Unexpected~comma:~extra~arguments~ignored. }
+  { Unexpected~comma~turned~to~nan~result. }
 \__kernel_msg_new:nnn { kernel } { fp-num-args }
   { #1~expects~between~#2~and~#3~arguments. }
 %<*package>
diff --git a/l3kernel/testfiles/m3fp-parse002.tlg b/l3kernel/testfiles/m3fp-parse002.tlg
index 28b78d4..385436c 100644
--- a/l3kernel/testfiles/m3fp-parse002.tlg
+++ b/l3kernel/testfiles/m3fp-parse002.tlg
@@ -29,7 +29,7 @@ TEST 3: Wrong commas
 ============================================================
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 
-                           Unexpected comma: extra arguments ignored.
+                           Unexpected comma turned to nan result.
 l. ...  }
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
@@ -38,7 +38,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 
-                           Unexpected comma: extra arguments ignored.
+                           Unexpected comma turned to nan result.
 l. ...  }
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
@@ -53,7 +53,7 @@ TEST 4: Weird juxtaposition
 ============================================================
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 
-                           Unexpected comma: extra arguments ignored.
+                           Unexpected comma turned to nan result.
 l. ...  }
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
@@ -180,7 +180,7 @@ and I'll forget about whatever was undefined.
 > max(, \c_space_tl ,,)=nan.
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 
-                           Unexpected comma: extra arguments ignored.
+                           Unexpected comma turned to nan result.
 l. ...  }
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
@@ -199,7 +199,7 @@ spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
 ! Undefined control sequence.
 <argument> \LaTeX3 error: 
-                           Unexpected comma: extra arguments ignored.
+                           Unexpected comma turned to nan result.
 l. ...  }
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have





More information about the latex3-commits mailing list