diff options
author | Norbert Preining <norbert@preining.info> | 2020-10-20 03:01:01 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-10-20 03:01:01 +0000 |
commit | 6c4fb500d344400c932c5792f94aee3e34cbe6a7 (patch) | |
tree | 1f0ea6814385527023371b2f0226a5187d0b3e44 /macros/luatex/optex/base/alloc.opm | |
parent | 3fdf82ec77f470d0bf97c17c3085ef2fd58ea65f (diff) |
CTAN sync 202010200300
Diffstat (limited to 'macros/luatex/optex/base/alloc.opm')
-rw-r--r-- | macros/luatex/optex/base/alloc.opm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/luatex/optex/base/alloc.opm b/macros/luatex/optex/base/alloc.opm index b981c25b56..e68db40266 100644 --- a/macros/luatex/optex/base/alloc.opm +++ b/macros/luatex/optex/base/alloc.opm @@ -75,7 +75,7 @@ \_chardef\_insertmin = 201 \_def\_newinsert #1{% - \_advance\_insertalloc by-1 + \_global\_advance\_insertalloc by-1 \_ifnum\_insertalloc <\_insertmin \_errmessage {No room for a new \_string\insert}% \_else @@ -150,11 +150,11 @@ the array-like declarator of counters. \_maicount = \maicount % first value is top of the array \def\newcountarray #1[#2]{% \newcountarray \foo[100] - \advance\_maicount by -#2\relax + \global\advance\_maicount by -#2\relax \ifnum \_countalloc > \_maicount \errmessage{No room for a new array of \string\count}% \else - \chardef#1=\_maicount + \global\chardef#1=\_maicount \fi } \def\usecount #1[#2]{% \usecount \foo[2] |