summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/listings/lstlang2.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/listings/lstlang2.sty')
-rw-r--r--Master/texmf-dist/tex/latex/listings/lstlang2.sty26
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
%%