From d1faffcd5d92925a6c5e66ebb72b4c8dcfae236f Mon Sep 17 00:00:00 2001 From: Context Git Mirror Bot Date: Thu, 17 Dec 2015 16:15:07 +0100 Subject: 2015-12-17 15:59:00 --- tex/context/base/toks-ini.lua | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'tex/context/base/toks-ini.lua') diff --git a/tex/context/base/toks-ini.lua b/tex/context/base/toks-ini.lua index a6c465d50..b66c24c16 100644 --- a/tex/context/base/toks-ini.lua +++ b/tex/context/base/toks-ini.lua @@ -9,6 +9,7 @@ tokens = tokens or { } local tokens = tokens local newtoken = newtoken or token +local tonumber = tonumber local tostring = tostring local utfchar = utf.char local char = string.char @@ -69,13 +70,13 @@ local get_next = newtoken.get_next local set_macro = newtoken.set_macro -set_macro = function(k,v,g) - if g == "global" then - context.setgvalue(k,v or '') - else - context.setvalue(k,v or '') - end -end +-- set_macro = function(k,v,g) +-- if g == "global" then +-- context.setgvalue(k,v or '') +-- else +-- context.setvalue(k,v or '') +-- end +-- end local bits = { escape = 2^ 0, -- cgit v1.2.3