[latex3-commits] [l3svn] branch master updated: Uses classical test for \newcatcodetable
noreply at latex-project.org
noreply at latex-project.org
Thu Sep 10 13:14:50 CEST 2015
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
The following commit(s) were added to refs/heads/master by this push:
new 3790bb2 Uses classical test for \newcatcodetable
3790bb2 is described below
commit 3790bb2decb65a6e4496d8413c486489ee212530
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Sep 10 12:12:34 2015 +0100
Uses classical test for \newcatcodetable
Until the e-TeX test has complete, we might have code
running that does not know \ifdefined. That will then give
a wierd error rather than cleanly bailing out.
---
l3kernel/l3bootstrap.dtx | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/l3kernel/l3bootstrap.dtx b/l3kernel/l3bootstrap.dtx
index 7ad37d3..944c9fa 100644
--- a/l3kernel/l3bootstrap.dtx
+++ b/l3kernel/l3bootstrap.dtx
@@ -422,12 +422,13 @@
\chardef\ucharcat at table="8000 %
%</initex>
%<*package>
- \ifdefined\newcatcodetable
- \newcatcodetable\ucharcat at table
- \else
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname newcatcodetable\endcsname\relax
\directlua{tex.enableprimitives("",{"initcatcodetable"})}
\chardef\ucharcat at table"7000 %
\initcatcodetable\ucharcat at table
+ \else
+ \newcatcodetable\ucharcat at table
\fi
%</package>
\catcode`\_=11 %
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list