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
Merge branch 'kitagawa_test' of git.sourceforge.jp:/gitroot/luatex-ja/luatexja into...
[luatex-ja/luatexja.git]
/
src
/
ltj-inputbuf.lua
diff --git
a/src/ltj-inputbuf.lua
b/src/ltj-inputbuf.lua
index
fdf9dc8
..
cec74cf
100644
(file)
--- a/
src/ltj-inputbuf.lua
+++ b/
src/ltj-inputbuf.lua
@@
-30,7
+30,7
@@
local function add_comment(buffer)
end
if i>0 then
local c = utfbyte(buffer, i)
end
if i>0 then
local c = utfbyte(buffer, i)
- if c>0x80 then
+ if c>
=
0x80 then
local ct = getcatcode(c)
local te = tex.endlinechar
local ctl = (te ~= -1) and (getcatcode(te)==5) and (getcatcode(0xFFFFF)==14)
local ct = getcatcode(c)
local te = tex.endlinechar
local ctl = (te ~= -1) and (getcatcode(te)==5) and (getcatcode(0xFFFFF)==14)
@@
-47,4
+47,7
@@
local function add_comment(buffer)
return buffer
end
return buffer
end
+luatexbase.add_to_callback('process_input_buffer',
+ add_comment,'ltj.process_input_buffer')
+
--EOF
--EOF