summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/alloc.opm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-02-19 03:02:04 +0000
committerNorbert Preining <norbert@preining.info>2020-02-19 03:02:04 +0000
commitc36a274c633c08115b6006622112f5609031001e (patch)
treee0935730aa90d6cd1427245dbb6e996fc331de94 /macros/luatex/optex/alloc.opm
parentbb5325dae4202b519b7210a338651301e048998d (diff)
CTAN sync 202002190302
Diffstat (limited to 'macros/luatex/optex/alloc.opm')
-rw-r--r--macros/luatex/optex/alloc.opm10
1 files changed, 9 insertions, 1 deletions
diff --git a/macros/luatex/optex/alloc.opm b/macros/luatex/optex/alloc.opm
index 1e27d0cc23..6ca5939ab1 100644
--- a/macros/luatex/optex/alloc.opm
+++ b/macros/luatex/optex/alloc.opm
@@ -55,6 +55,14 @@
\_fi
}
+\_newcount \_attributealloc \_attributealloc=0
+\_chardef\_maiattribute=\_maicount
+\_def\_newattribute #1{\_allocator #1{attribute}\_attributedef}
+
+\_newcount \_catcodetablealloc \_catcodetablealloc=10
+\_chardef\_maicatcodetable=32767
+\_def\_newcatcodetable #1{\_allocator #1{catcodetable}\_chardef}
+
\_newcount \tmpnum \_newcount \_tmpnum
\_newdimen \tmpdim \_newdimen \_tmpdim
@@ -65,8 +73,8 @@
\_newbox\_voidbox % permanently void box register
\_public
- \maicount \maidimen \maiskip \maimuskip \maibox \maitoks \mairead \maiwrite \maimath
\newcount \newdimen \newskip \newmuskip \newbox \newtoks \newread \newwrite \newmath
+ \newattribute \newcatcodetable
\insertmin \newinsert
\maxdimen \hideskip \centering \zoskip \voidbox ;