[latex3-commits] [latex3/latex3] main: Undefine internal local var per fp-var locally (ac74b1951)

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/ac74b1951f942b628764d225a12efd8880bde435

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

commit ac74b1951f942b628764d225a12efd8880bde435
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Thu Oct 26 07:04:30 2023 +0800

    Undefine internal local var per fp-var locally


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

ac74b1951f942b628764d225a12efd8880bde435
 l3kernel/l3fp-symbolic.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3kernel/l3fp-symbolic.dtx b/l3kernel/l3fp-symbolic.dtx
index da0524a7d..2d273fd2c 100644
--- a/l3kernel/l3fp-symbolic.dtx
+++ b/l3kernel/l3fp-symbolic.dtx
@@ -579,7 +579,7 @@
         \msg_error:nnn
           { fp } { id-already-defined } {#1}
         \cs_undefine:c { @@_parse_word_#1:N }
-        \cs_undefine:c { l_@@_variable_#1_fp }
+        \cs_set_eq:cN { l_@@_variable_#1_fp } \tex_undefined:D
       }
     \@@_variable_set_parsing:Nn \cs_gset_eq:NN {#1}
   }





More information about the latex3-commits mailing list.