[latex3-commits] [l3svn] 02/05: Use low-level engine tests for bootstrapping

noreply at latex-project.org noreply at latex-project.org
Tue Sep 8 08:22:56 CEST 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit a13a365be770815334a43a70fd73eeb7eba3c378
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Sep 7 22:17:22 2015 +0100

    Use low-level engine tests for bootstrapping
    
    The higher-level interfaces will move to a new sys module but
    to avoid that having to be loaded very early a few adjustments
    are made here.
---
 l3kernel/l3alloc.dtx |    5 +++--
 l3kernel/l3int.dtx   |    2 +-
 l3kernel/l3str.dtx   |    2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/l3kernel/l3alloc.dtx b/l3kernel/l3alloc.dtx
index 777ae66..8b36ca0 100644
--- a/l3kernel/l3alloc.dtx
+++ b/l3kernel/l3alloc.dtx
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-%% File: l3alloc.dtx Copyright (C) 1990-2012,2014 The LaTeX3 Project
+%% File: l3alloc.dtx Copyright (C) 1990-2012,2014,2015 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 this
@@ -184,9 +184,10 @@
 %   need to have their allocators set up \enquote{early}. It therefore
 %   makes sense to collect most of them together here.
 %    \begin{macrocode}
-\luatex_if_engine:TF
+\cs_if_exist:NTF \luatex_luatexversion:D
   { \@@_new:nnnN { box } \c_zero \c_max_register_int \tex_chardef:D }
   { \@@_new:nnnN { box } \c_zero \c_max_register_int \tex_mathchardef:D }
+\fi:
 \@@_new:nnnN { dim }     \c_zero \c_max_register_int \tex_dimendef:D
 \@@_new:nnnN { int }    { 11 }   \c_max_register_int \tex_countdef:D
 \@@_new:nnnN { muskip } \c_zero  \c_max_register_int \tex_muskipdef:D
diff --git a/l3kernel/l3int.dtx b/l3kernel/l3int.dtx
index cefca88..234dee2 100644
--- a/l3kernel/l3int.dtx
+++ b/l3kernel/l3int.dtx
@@ -1190,7 +1190,7 @@
       }
   }
 \cs_generate_variant:Nn \int_const:Nn { c }
-\pdftex_if_engine:TF
+\cs_if_exist:NTF \pdftex_pdftexversion:D
   {
     \cs_new_eq:NN \@@_constdef:Nw \tex_mathchardef:D
     \tex_mathchardef:D \c__max_constdef_int 32 767 ~
diff --git a/l3kernel/l3str.dtx b/l3kernel/l3str.dtx
index 73053d2..627c6de 100644
--- a/l3kernel/l3str.dtx
+++ b/l3kernel/l3str.dtx
@@ -393,7 +393,7 @@
 %   such tokens.
 %    \begin{macrocode}
 \cs_new:Npn \__str_if_eq_x:nn #1#2 { \pdftex_strcmp:D {#1} {#2} }
-\luatex_if_engine:T
+\cs_if_exist:NT \luatex_luatexversion:D
    {
      \cs_set:Npn \__str_if_eq_x:nn #1#2
        {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list