summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/luatexja.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/luatexja.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua b/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua
index 940ed213525..491454c5071 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua
+++ b/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua
@@ -322,14 +322,14 @@ do
'pre_linebreak_filter',
function (head,groupcode)
return main_process(head, true, tex.textdir, groupcode)
- end,'ltj.pre_linebreak_filter',
+ end,'ltj.main',
luatexbase.priority_in_callback('pre_linebreak_filter',
- 'luaotfload.node_processor') + 1)
+ 'luaotfload.node_processor')+1)
luatexbase.add_to_callback(
'hpack_filter',
function (head,groupcode,size,packtype, dir)
return main_process(head, false, dir, groupcode)
- end,'ltj.hpack_filter',
+ end,'ltj.main',
luatexbase.priority_in_callback('hpack_filter',
'luaotfload.node_processor') + 1)
luatexbase.add_to_callback('pre_linebreak_filter', adjust_icflag, 'ltj.adjust_icflag', 1)
@@ -481,12 +481,12 @@ local function debug_show_node_X(p,print_fn, limit)
prefix, inner_depth = k, bid
end
else
- s = s .. node.subtype(p.subtype)
+ s = s .. (node.subtype(p.subtype) or '')
if p.subtype==1 then
s = s .. ' stream=' .. p.stream
print_fn(s)
for i=1,#p.data do
- print_fn(s .. ' [' .. i .. '] = ' .. tostring(token.command_name(p.data[i])))
+ print_fn(s .. ' [' .. i .. '] = ' .. tostring(p.data[i].csname))
end
else
print_fn(s)