[latex3-commits] [git/LaTeX3-latex3-l3build] master: \ASSERTSTR no long requires e-TeX (d418db9)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Nov 2 18:35:51 CET 2019


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/d418db99d067b091e5aad460871285f4aae2eb98

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

commit d418db99d067b091e5aad460871285f4aae2eb98
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Nov 2 17:35:51 2019 +0000

    \ASSERTSTR no long requires e-TeX
    
    Thanks to BLF.


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

d418db99d067b091e5aad460871285f4aae2eb98
 CHANGELOG.md | 4 ++++
 l3build.dtx  | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b74e628..29810c4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Changed
+
+- `\ASSERTSTR` no longer needs e-TeX
+
 ## [2019-11-01]
 
 ### Added
diff --git a/l3build.dtx b/l3build.dtx
index 2f55c51..28b7097 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -930,7 +930,7 @@
 % \cs{SHOWFILE} (\eTeX{} only) Shows the content of the file given as an
 % argument.
 % \item
-% \cs{ASSERT} and \cs{ASSERTSTR} (\eTeX{} only) Asserts if the full expansion
+% \cs{ASSERT} and \cs{ASSERTSTR} Asserts if the full expansion
 % of the two required arguments are the same: the \cs{ASSERT} function is
 % token-based, the \cs{ASSERTSTR} works on a string basis.
 % \end{itemize}
@@ -2306,8 +2306,8 @@
   \begingroup
     \edef\@tempa{#1}%
     \edef\@tempb{#2}%
-    \edef\@tempa{\detokenize\expandafter{\@tempa}}%
-    \edef\@tempb{\detokenize\expandafter{\@tempb}}%
+    \edef\@tempa{\meaning\@tempa}%
+    \edef\@tempb{\meaning\@tempb}%
     \ifx\@tempa\@tempb
       \TYPE{PASSED}%
     \else





More information about the latex3-commits mailing list