diff options
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/luatexja.lua')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/luatexja.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua b/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua index 767659a1c34..df1b57dfe68 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua +++ b/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua @@ -232,7 +232,9 @@ do } local unary_pars = luatexja.unary_pars - function luatexja.ext_get_parameter_unary(k) + local scan_arg = token.scan_argument + function luatexja.ext_get_parameter_unary() + local k= scan_arg() if unary_pars[k] then tex.write(tostring(unary_pars[k](tex.getcount('ltj@@stack')))) end @@ -289,9 +291,9 @@ do end, } local binary_pars = luatexja.binary_pars - + local scan_arg, scan_int = token.scan_argument, token.scan_int binary_pars.alxspmode = binary_pars.jaxspmode - function luatexja.ext_get_parameter_binary(k,c) + function luatexja.ext_get_parameter_binary(k, c) if binary_pars[k] then tex.write(tostring(binary_pars[k](c,tex.getcount('ltj@@stack')))) end |