From fabbcd2656be5dca3e1986ddcc8c827a23e9aedf Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 29 Jan 2017 22:34:57 +0000
Subject: l3 (29jan17)

git-svn-id: svn://tug.org/texlive/trunk@43088 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/source/latex/l3kernel/l3alloc.dtx   | 69 +++++++++-------------
 1 file changed, 28 insertions(+), 41 deletions(-)

(limited to 'Master/texmf-dist/source/latex/l3kernel/l3alloc.dtx')

diff --git a/Master/texmf-dist/source/latex/l3kernel/l3alloc.dtx b/Master/texmf-dist/source/latex/l3kernel/l3alloc.dtx
index 16009950b33..8d783bd018f 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3alloc.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3alloc.dtx
@@ -1,41 +1,28 @@
 % \iffalse meta-comment
 %
-%% 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
-%% license or (at your option) any later version.  The latest version
-%% of this license is in the file
-%%
-%%    http://www.latex-project.org/lppl.txt
-%%
-%% This file is part of the "l3kernel bundle" (The Work in LPPL)
-%% and all files in that bundle must be distributed together.
-%%
-%% The released version of this bundle is available from CTAN.
-%%
-%% -----------------------------------------------------------------------
-%%
-%% The development version of the bundle can be found at
-%%
-%%    http://www.latex-project.org/svnroot/experimental/trunk/
-%%
-%% for those people who are interested.
-%%
-%%%%%%%%%%%
-%% NOTE: %%
-%%%%%%%%%%%
-%%
-%%   Snapshots taken from the repository represent work in progress and may
-%%   not work or may contain conflicting material!  We therefore ask
-%%   people _not_ to put them into distributions, archives, etc. without
-%%   prior consultation with the LaTeX3 Project.
-%%
-%% -----------------------------------------------------------------------
+%% File: l3alloc.dtx Copyright (C) 1990-2012,2014-2016 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
+% license or (at your option) any later version.  The latest version
+% of this license is in the file
+%
+%    http://www.latex-project.org/lppl.txt
+%
+% This file is part of the "l3kernel bundle" (The Work in LPPL)
+% and all files in that bundle must be distributed together.
+%
+% -----------------------------------------------------------------------
+%
+% The development version of the bundle can be found at
+%
+%    https://github.com/latex3/latex3
+%
+% for those people who are interested.
 %
 %<*driver>
 \documentclass[full]{l3doc}
-\GetIdInfo$Id: l3alloc.dtx 5952 2015-09-08 16:10:05Z joseph $
+\GetIdInfo$Id: l3alloc.dtx 6805 2016-12-28 22:15:52Z joseph $
   {L3 Register allocation}
 \begin{document}
   \DocInput{\jobname.dtx}
@@ -185,12 +172,12 @@
 %   makes sense to collect most of them together here.
 %    \begin{macrocode}
 \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 }
-\@@_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
-\@@_new:nnnN { skip }   \c_zero  \c_max_register_int \tex_skipdef:D
+  { \@@_new:nnnN { box } { 0 } \c_max_register_int \tex_chardef:D }
+  { \@@_new:nnnN { box } { 0 } \c_max_register_int \tex_mathchardef:D }
+\@@_new:nnnN { dim }     { 0 } \c_max_register_int \tex_dimendef:D
+\@@_new:nnnN { int }    { 10 } \c_max_register_int \tex_countdef:D
+\@@_new:nnnN { muskip }  { 0 } \c_max_register_int \tex_muskipdef:D
+\@@_new:nnnN { skip }    { 0 } \c_max_register_int \tex_skipdef:D
 %    \end{macrocode}
 % \end{macro}
 %
@@ -254,14 +241,14 @@
             \tl_if_exist:cTF { c__ #1 _allocation_reserve_begin_tl }
               {
                 \int_compare:nNnTF
-                  { \tl_use:c { g__ #1 _allocation_tl } + \c_one }
+                  { \tl_use:c { g__ #1 _allocation_tl } + 1 }
                   =
                   { \tl_use:c { c__ #1 _allocation_reserve_begin_tl } }
                   { \tl_use:c { c__ #1 _allocation_reserve_end_tl } }
                   { \tl_use:c { g__ #1 _allocation_tl } }
               }
               { \tl_use:c { g__ #1 _allocation_tl } }
-            + \c_one
+            + 1
           }
       }
   }
-- 
cgit v1.2.3

