summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/mlib-mpf.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-06-24 19:37:45 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-06-24 19:37:45 +0200
commit820657bb1e9acfb36f24dfa8801526b0d5f2b464 (patch)
treefc93fd3936e84b9b0a6402719e185d35e332eee9 /tex/context/base/mkxl/mlib-mpf.lmt
parent4272a26c49cbfee8917e5272fc0f964cbcfc4b03 (diff)
downloadcontext-820657bb1e9acfb36f24dfa8801526b0d5f2b464.tar.gz
2021-06-24 18:52:00
Diffstat (limited to 'tex/context/base/mkxl/mlib-mpf.lmt')
-rw-r--r--tex/context/base/mkxl/mlib-mpf.lmt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/mlib-mpf.lmt b/tex/context/base/mkxl/mlib-mpf.lmt
index b03c664b8..f60f31076 100644
--- a/tex/context/base/mkxl/mlib-mpf.lmt
+++ b/tex/context/base/mkxl/mlib-mpf.lmt
@@ -941,6 +941,7 @@ do
local scanstring = scan.string
local scannumeric = scan.numeric
+ local scaninteger = scan.integer
local skiptoken = skip.token
----- injectstring = inject.string
@@ -982,7 +983,7 @@ do
registerscript("setglobalmacro", function() setmacro(scanstring(),scanstring(),"global") end)
registerscript("setglobaldimen", function() setdimen("global",scanstring(),scannumeric()/bpfactor) end)
- registerscript("setglobalcount", function() setcount("global",scanstring(),scannumeric()) end)
+ registerscript("setglobalcount", function() setcount("global",scanstring(),scaninteger()) end)
registerscript("setglobaltoks", function() settoks ("global",scanstring(),scanstring()) end)
local utfnum = utf.byte