[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: Correct date printed when skipping undo section (2a33a0e2)

PhelypeOleinik phelype.oleinik at latex-project.org
Sun Mar 21 19:55:15 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh479
Link       : https://github.com/latex3/latex2e/commit/2a33a0e203f5b279ae6623a3829dca8873c3204d

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

commit 2a33a0e203f5b279ae6623a3829dca8873c3204d
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Sun Mar 21 15:55:15 2021 -0300

    Correct date printed when skipping undo section


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

2a33a0e203f5b279ae6623a3829dca8873c3204d
 base/ltvers.dtx | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/base/ltvers.dtx b/base/ltvers.dtx
index af726891..3a15e371 100644
--- a/base/ltvers.dtx
+++ b/base/ltvers.dtx
@@ -247,15 +247,16 @@
       \ifx\new at moduledate\@empty\else 1\fi
       \ifnum \expandafter\@parse at version#1//00\@nil=0 1\fi
       =11
-    \expandafter\expandafter
-    \expandafter\finish at module@release
-    \expandafter\@gobblefour
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
   \fi
-  \kernel at ifnextchar[%
-  {\@IncludeInRelease{#1}}
-  {\@IncludeInRelease{#1}[#1]}}
-\def\finish at module@release#1#2{%
-  \toks@\expandafter{\expandafter[\new at moduledate] #2}%
+    {\finish at module@release{#1}}%
+    {\kernel at ifnextchar[%
+      {\@IncludeInRelease{#1}}
+      {\@IncludeInRelease{#1}[#1]}}}
+\def\finish at module@release#1#2#3{%
+  \toks@{[#1] #3}%
   \ifnum\expandafter\@parse at version\new at moduledate//00\@nil
        >\expandafter\@parse at version\fmtversion//00\@nil
     \GenericInfo{}{Applying: \the\toks@}%





More information about the latex3-commits mailing list.