[latex3-commits] [git/LaTeX3-latex3-latex3] master: Allow for c-variables in msg (fixes #568) (0eaf5ff)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon May 6 00:46:26 CEST 2019


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

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

commit 0eaf5ffb75244d675e1ab3b57ba916c61744195c
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun May 5 23:46:06 2019 +0100

    Allow for c-variables in msg (fixes #568)


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

0eaf5ffb75244d675e1ab3b57ba916c61744195c
 l3kernel/l3msg.dtx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/l3kernel/l3msg.dtx b/l3kernel/l3msg.dtx
index b42f783..caceb79 100644
--- a/l3kernel/l3msg.dtx
+++ b/l3kernel/l3msg.dtx
@@ -1860,7 +1860,11 @@
       { Inconsistent~local/global~assignment }
       {
         \c_@@_coding_error_text_tl
-        \if:w l #2 Local \else: Global \fi: \ %
+        \if:w l #2 Local
+        \else:
+          \if:w g #2 Global \else: Constant \fi:
+        \fi:
+        \ %
         assignment~to~a~
         \if:w l #1 local
         \else:





More information about the latex3-commits mailing list