Handle TODOs

This commit is contained in:
Marcel Krüger 2020-07-31 12:04:02 +02:00
parent 43d435ab90
commit 7c162a0cf0
7 changed files with 15 additions and 31 deletions

View file

@ -12,7 +12,7 @@ lua.get_functions_table()[restore_func] = function()
end
end
end
local restore_toks = {token.new(2, token.command_id'after_something') , token.new(restore_func, token.command_id'lua_call')} -- \atendofgroup FIXME: Detect mode automatically once token.primitive is fixed
local restore_toks = {token.primitive_tokens.atendofgroup , token.new(restore_func, token.command_id'lua_call')}
local put_next = token.put_next
local runtoks = tex.runtoks
local function put_restore_toks()