diff options
author | Karl Berry <karl@freefriends.org> | 2015-06-14 17:53:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-06-14 17:53:48 +0000 |
commit | 6a598465f500d8ac3a87b812b16358ba0835b1bf (patch) | |
tree | 01f1bbce0a210482743e08ff9c13cc145bde7056 /Master/texmf-dist/tex/latex/listings/lstlang2.sty | |
parent | 02f01f7ec631cb85a67d59c9be5ab48e9d936d30 (diff) |
listings (5jun15)
git-svn-id: svn://tug.org/texlive/trunk@37534 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/listings/lstlang2.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/listings/lstlang2.sty | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/listings/lstlang2.sty b/Master/texmf-dist/tex/latex/listings/lstlang2.sty index 2514dcb605d..d9a8fa34489 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang2.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang2.sty @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{lstlang2.sty} - [2014/09/06 1.5e listings language file] + [2015/06/04 1.6 listings language file] %% %% Abap definition by Knut Lickert %% @@ -82,9 +82,9 @@ \lst@definelanguage{ACM}{ morekeywords={ abs,After,acos,And,As,asin,atan,At,Call,Compatibility,Connect,cos,cosh,% - Create,Delay,Difference,Do,Else,ElseIf,End,EndFor,EndIf,EndParallel,% - EndState,EndSwitch,EndText,EndWith,exp,External,Fixed,For,ForEach,Free,% - Global,Hidden,If,Implementation,In,Initial,Input,InterSection,% + Create,Delay,Description,Difference,Do,Else,ElseIf,End,EndFor,EndIf,% + EndParallel,EndState,EndSwitch,EndText,EndWith,exp,External,Fixed,For,% + ForEach,Free,Global,Hidden,If,Implementation,In,Initial,Input,InterSection,% IntegerSet,Invoke,Is,Language,Library,Link,Log10,LogE,Max,Min,Model,Of,% Once,Options,Output,Parallel,Parameter,Pause,Port,Print,Private,% Procedure,Product,Ramp,Repeat,Restart,Return,Round,Runs,Sigma,sin,sinh,% @@ -874,6 +874,24 @@ },% moredelim=[s][keywordstyle3]{::}{::},% }[keywords,comments,strings]% +\lst@definelanguage[5.3]{Lua}[5.2]{Lua}{% + deletekeywords=[2]{% + bit32, bit32.arshift, bit32.band, bit32.bnot, bit32.bor,% + bit32.btest, bit32.bxor, bit32.extract, bit32.lrotate,% + bit32.lshift, bit32.replace, bit32.rrotate, bit32.rshift,% + math.atan2, math.cosh, math.frexp, math.ldexp, math.pow,% + math.sinh, math.tanh,% + },% + morekeywords=[2]{% + coroutine.isyieldable,% + math.maxinteger, math.mininteger, math.tointeger, math.type,% + math.ult,% + string.pack, string.packsize, string.unpack,% + table.move,% + utf8, utf8.char, utf8.charpattern, utf8.codepoint, utf8.codes,% + utf8.len, utf8.offset,% + },% +}[keywords,comments,strings]% %% %% Make definitions (c) 2000 Rolf Niepraschk %% |