summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-06 23:12:06 +0000
committerKarl Berry <karl@freefriends.org>2012-05-06 23:12:06 +0000
commitec4155a8b435806195767c2047ab6b3f9f2a1052 (patch)
treec7c5a7ca784c6239ddb222248150a53843427b63 /Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua
parent3c6cdccdf8a900337b27e6c4099aeea5dbc86dcb (diff)
luatexja 20120506.0
git-svn-id: svn://tug.org/texlive/trunk@26229 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua
index 4f7c8756755..512e4d12162 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua
@@ -27,7 +27,8 @@ function add_comment(buffer)
local c = utf.byte(buffer, i)
local ct = tex.getcatcode(c)
local ctl = tex.getcatcode(13) -- endline character
- if ((ct==11) or (ct==12)) and (ctl==5) then
+ local ctc = tex.getcatcode(0xFFFFF) -- new comment character
+ if ((ct==11) or (ct==12)) and (ctl==5) and (ctc==14) then
local p = node_new(id_glyph)
p.char = c
if ltjc.is_ucs_in_japanese_char(p) then