From 02aa0c181c36eb53c436478eeb878a070972ac16 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 25 Oct 2018 21:34:47 +0000 Subject: l3build (25oct18) git-svn-id: svn://tug.org/texlive/trunk@48991 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/l3build/regression-test.tex | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/l3build/regression-test.tex b/Master/texmf-dist/tex/latex/l3build/regression-test.tex index 34cb639dc6c..f7e71b6a036 100644 --- a/Master/texmf-dist/tex/latex/l3build/regression-test.tex +++ b/Master/texmf-dist/tex/latex/l3build/regression-test.tex @@ -6,7 +6,7 @@ %% %% l3build.dtx (with options: `package') %% -%% Copyright (C) 2014-2016 The LaTeX3 Project +%% Copyright (C) 2014-2018 The LaTeX3 Project %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of @@ -80,6 +80,24 @@ \fi \def\OMIT{\LONGTYPEOUT{OMIT}} \def\TIMO{\LONGTYPEOUT{TIMO}} + +\begingroup % within the scope of this groups each line needs to end in % ! +\catcode`\^^M\active % +\gdef\SHOWFILE#1{% + \typeout{-------- #1 (start) ---------}% +\IfFileExists{#1}% + {\begingroup % + \catcode`\^^M\active % + \edef^^M{^\string^M^^J}% + \everyeof{\noexpand}% + \obeyspaces % + \@sanitize % + \message{\@@input #1 }% + \endgroup }% + {\message{Not found}}% + \typeout{-------- #1 (end) -----------}% +}% +\endgroup \ifx\InputIfFileExists\@undefined \newread\@inputcheck \long\def\InputIfFileExists#1#2#3{% -- cgit v1.2.3