diff options
author | Hans Hagen <pragma@wxs.nl> | 2023-01-26 19:34:21 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2023-01-26 19:34:21 +0100 |
commit | 83667a906d7cac842635bc5243db70f55b346562 (patch) | |
tree | 6d22734798c775c081c3aecb7f05faf590e6570b /tex/context/base/mkxl/core-env.lmt | |
parent | b47e8c2cdeeab0bcdb1c4c32328c933f3f8599de (diff) | |
download | context-83667a906d7cac842635bc5243db70f55b346562.tar.gz |
2023-01-26 18:34:00
Diffstat (limited to 'tex/context/base/mkxl/core-env.lmt')
-rw-r--r-- | tex/context/base/mkxl/core-env.lmt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/core-env.lmt b/tex/context/base/mkxl/core-env.lmt index f5b382f12..018a01767 100644 --- a/tex/context/base/mkxl/core-env.lmt +++ b/tex/context/base/mkxl/core-env.lmt @@ -18,7 +18,6 @@ local P, C, S, lpegmatch, patterns = lpeg.P, lpeg.C, lpeg.S, lpeg.match, lpeg.pa local context = context local ctxcore = context.core -local texgetcount = tex.getcount local texgetintegervalue = token.getinteger -- todo local allocate = utilities.storage.allocate @@ -119,12 +118,10 @@ setmetatablenewindex(texifs, function(t,k) end) -- kind of variable ... maybe we no longer have to cache anyway (in lmtx) setmetatableindex(texconstants, function(t,k) - -- return cache[k].command == countcode and texgetcount(k) or 0 return cache[k].command == integercode and texgetintegervalue(k) or 0 end) setmetatableindex(texconditionals, function(t,k) -- 0 == true - -- return cache[k].command == countcode and texgetcount(k) == 0 return cache[k].command == integercode and texgetintegervalue(k) == 0 end) |