OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix errors: ltjb.package_error() is called with a table argument in ltj-charrange...
[luatex-ja/luatexja.git]
/
src
/
luatexja.lua
diff --git
a/src/luatexja.lua
b/src/luatexja.lua
index
a314785
..
2f83b48
100644
(file)
--- a/
src/luatexja.lua
+++ b/
src/luatexja.lua
@@
-181,10
+181,11
@@
function luatexja.ext_get_parameter_binary(k,c)
c=0
end
if k == 'jacharrange' then
c=0
end
if k == 'jacharrange' then
- if c>
216
then
+ if c>
=7*ltjc.ATTR_RANGE
then
ltjb.package_error('luatexja',
'invalid character range number (' .. c .. ')',
ltjb.package_error('luatexja',
'invalid character range number (' .. c .. ')',
- 'A character range number should be in the range 0..216,\n'..
+ 'A character range number should be in the range 0..'
+ .. 7+ATTR_RANGE-1 .. ",\n"..
'So I changed this one to zero.')
c=0
end
'So I changed this one to zero.')
c=0
end