bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] mescc: Don't run mescc:main twice


From: Ekaitz Zarraga
Subject: Re: [PATCH] mescc: Don't run mescc:main twice
Date: Wed, 3 Jan 2024 12:54:33 +0100

On 2024-01-03 12:28, Janneke Nieuwenhuizen wrote:
Ekaitz Zarraga writes:

Since 0.26, some people noticed mescc was running twice per file in mes.
This commit fixes that behaviour.

Discussed here:
<https://lists.gnu.org/archive/html/bug-mes/2023-12/msg00008.html>

Thanks!   Applied to `wip' with two minor whitespace nits

* scripts/mescc.scm.in: Remove mescc:main from cond-expand to avoid
   running mescc:main twice in mes.

   ^^ removed these two spaces

diff --git a/scripts/mescc.scm.in b/scripts/mescc.scm.in
index e8d4f860..1b7316af 100644
[..]
-  (if (current-module) (use-modules (mescc))
-      (mes-use-module (mescc)))
-  (mescc:main (command-line)))
+  (if (current-module)
                            ^Removed newline

to use mes-style

     (if expr then
         else)

+    (use-modules (mescc))



Thanks, I'll take those things in account for the following commits.

Ekatiz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]