[latex3-commits] [git/LaTeX3-latex3-latex2e] master: guard against space for issue #33 (2166b36)

David Carlisle d.p.carlisle at gmail.com
Sun Apr 8 13:48:09 CEST 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/2166b36c7b370534c6bbb330bb95419bd715c627

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

commit 2166b36c7b370534c6bbb330bb95419bd715c627
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sun Apr 8 12:48:09 2018 +0100

    guard against space for issue #33


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

2166b36c7b370534c6bbb330bb95419bd715c627
 base/ltclass.dtx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index 91194a2..ea63521 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -631,12 +631,13 @@
 %<latexrelease>                 {\@ifl at t@r}{Guard against bad input}%
 %<*2ekernel|latexrelease>
 \def\@ifl at t@r#1#2{%
-  \ifnum\expandafter\@parse at version\expandafter0#1//00\@nil<%
-        \expandafter\@parse at version\expandafter0#2//00\@nil
+  \ifnum\expandafter\@parse at version@#1//00\@nil<%
+        \expandafter\@parse at version@#2//00\@nil
     \expandafter\@secondoftwo
   \else
     \expandafter\@firstoftwo
   \fi}
+\def\@parse at version@#1{\@parse at version0#1}
 %</2ekernel|latexrelease>
 %<latexrelease>\EndIncludeInRelease
 %<latexrelease>\IncludeInRelease{0000/00/00}%
@@ -648,6 +649,7 @@
 %<latexrelease>  \else
 %<latexrelease>    \expandafter\@firstoftwo
 %<latexrelease>  \fi}
+%<latexrelease>\let\@parse at version@\@undefined
 %<latexrelease>\EndIncludeInRelease
 %<*2ekernel>
 %    \end{macrocode}





More information about the latex3-commits mailing list