summaryrefslogtreecommitdiff
path: root/tex/context/base/core-env.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-07-26 19:37:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-07-26 19:37:00 +0200
commit07f9052e9f88459a4ee947f6c01d9de1119b8355 (patch)
treebab894ba034423f33358488de889e64e83220979 /tex/context/base/core-env.lua
parent860c6eaca8251c559f0486c0c1acf7f161821d82 (diff)
downloadcontext-07f9052e9f88459a4ee947f6c01d9de1119b8355.tar.gz
beta 2012.07.26 19:37
Diffstat (limited to 'tex/context/base/core-env.lua')
-rw-r--r--tex/context/base/core-env.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tex/context/base/core-env.lua b/tex/context/base/core-env.lua
index c31df929e..cd4284a7d 100644
--- a/tex/context/base/core-env.lua
+++ b/tex/context/base/core-env.lua
@@ -122,12 +122,15 @@ local types = {
function tex.isdimen(name)
return lookuptoken(name)[1] == dimencode
end
+
function tex.iscount(name)
return lookuptoken(name)[1] == countcode
end
+
function tex.istoken(name)
return lookuptoken(name)[1] == tokencode
end
+
function tex.isskip(name)
return lookuptoken(name)[1] == skipcode
end