OSDN Git Service

patches/lltjp-xunicode.sty: stopped to hardcode `EU2'
[luatex-ja/luatexja.git] / src / ltj-inputbuf.lua
index 4651d05..cec74cf 100644 (file)
@@ -30,7 +30,7 @@ local function add_comment(buffer)
    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)
@@ -50,8 +50,4 @@ end
 luatexbase.add_to_callback('process_input_buffer',
    add_comment,'ltj.process_input_buffer')
 
-   luatexbase.add_to_callback('stop_run', function()
-                                print(time_line) 
-                                         end, 'adjust_icflag', 1)
-
 --EOF