summaryrefslogtreecommitdiff
path: root/tex/context/base/toks-ini.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-07-13 23:40:25 +0300
committerMarius <mariausol@gmail.com>2011-07-13 23:40:25 +0300
commit3dd416f677074c27a248e3433695a6fe8c13ef69 (patch)
tree20c4a573a64f2079e2e3d3fe93b004af3caf7b2f /tex/context/base/toks-ini.lua
parent1ea50dab7f30289214b661f2cbcf53e97e6af0b6 (diff)
downloadcontext-3dd416f677074c27a248e3433695a6fe8c13ef69.tar.gz
beta 2011.07.13 20:14
Diffstat (limited to 'tex/context/base/toks-ini.lua')
-rw-r--r--tex/context/base/toks-ini.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/tex/context/base/toks-ini.lua b/tex/context/base/toks-ini.lua
index f8b5b9439..1f4d48466 100644
--- a/tex/context/base/toks-ini.lua
+++ b/tex/context/base/toks-ini.lua
@@ -33,8 +33,6 @@ a module.</p>
local token, tex = token, tex
-local texsprint = tex.sprint
-
local createtoken = token.create
local csname_id = token.csname_id
local command_id = token.command_id
@@ -81,7 +79,7 @@ local function printlist(data)
end)
end
-tex.printlist = printlist
+tex.printlist = printlist -- will change to another namespace
function collectors.flush(tag)
printlist(collectordata[tag])
@@ -107,7 +105,7 @@ function collectors.install(tag,end_cs)
local t = get_next()
local a, b = t[1], t[3]
if b == endcs then
- texsprint('\\' ..end_cs) -- to be checked, can be context[end_cs]()
+ context["end_cs"]()
return
elseif a == call and registered[b] then
expand()