summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-22 21:00:30 +0000
committerKarl Berry <karl@freefriends.org>2018-09-22 21:00:30 +0000
commit11b17670348e1e440d1a3e2891671f87be10abf5 (patch)
treea43550cdf6d83bb6fbce79fa323a205d31a9fea8 /Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty
parentf2735cd0c7d339056ebced0b410c14666b2e4812 (diff)
luatexja (22sep18)
git-svn-id: svn://tug.org/texlive/trunk@48736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty
index abcf05b9e79..3f7c2208d1b 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty
+++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty
@@ -1,5 +1,5 @@
%
-% lltjp-listings.sty 2018-08-25
+% lltjp-listings.sty 2018-09-17
%
\NeedsTeXFormat{LaTeX2e}
@@ -367,11 +367,13 @@
#3\catcode\ltjlineendcomment=9\lst@escapebegin\expandafter\lst@next%"
\fi}%
{}}
+\def\ltj@lst@emptygrp{{}}
\def\ltj@lst@escape@setup#1{%
\begingroup\lccode`\~=`#1\lowercase{%
\gdef\lst@next##1~{%
\let\lst@arg\@empty\ltj@lst@remove@jacmd{##1}%
- \expandafter\expandafter\expandafter\scantokens\expandafter{\lst@arg}%
+ \expandafter\expandafter\expandafter\expandafter\expandafter\expandafter\expandafter
+ \scantokens\expandafter\expandafter\expandafter{\expandafter\ltj@lst@emptygrp\lst@arg\empty}%
~}%
}\endgroup
}