[latex3-commits] [latex3/latex3] main: Fix wrong message names (6eed45b98)

github at latex-project.org github at latex-project.org
Thu Oct 26 18:05:45 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/6eed45b98273459a3b6c0831963252ba90600cca

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

commit 6eed45b98273459a3b6c0831963252ba90600cca
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Thu Oct 26 07:22:11 2023 +0800

    Fix wrong message names


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

6eed45b98273459a3b6c0831963252ba90600cca
 l3kernel/l3fp-functions.dtx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3kernel/l3fp-functions.dtx b/l3kernel/l3fp-functions.dtx
index eb54b727a..77ea0134c 100644
--- a/l3kernel/l3fp-functions.dtx
+++ b/l3kernel/l3fp-functions.dtx
@@ -72,7 +72,7 @@
 \cs_new_protected:Npn \@@_new_function:n #1
   {
     \@@_id_if_invalid:nTF {#1}
-      { \msg_error:nnn { fp } { invalid-identifier } {#1} }
+      { \msg_error:nnn { fp } { id-invalid } {#1} }
       {
         \cs_if_exist:cT { @@_parse_word_#1:N }
           {
@@ -171,7 +171,7 @@
 \cs_new_protected:Npn \@@_set_function:Nnnn #1#2#3#4
   {
     \@@_id_if_invalid:nTF {#2}
-      { \msg_error:nnn { fp } { invalid-identifier } {#2} }
+      { \msg_error:nnn { fp } { id-invalid } {#2} }
       {
         \cs_if_exist:cF { @@_parse_word_#2:N }
           { \@@_function_set_parsing:Nn \cs_set_eq:NN {#2} }
@@ -265,7 +265,7 @@
 \cs_new_protected:Npn \@@_clear_function:n #1
   {
     \@@_id_if_invalid:nTF {#1}
-      { \msg_error:nnn { fp } { invalid-identifier } {#1} }
+      { \msg_error:nnn { fp } { id-invalid } {#1} }
       {
         \cs_set_eq:cN { @@_#1_o:w } \tex_undefine:D
         \@@_function_set_parsing:Nn \cs_set_eq:NN {#1} 





More information about the latex3-commits mailing list.