summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/listings/lstlang3.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/listings/lstlang3.sty')
-rw-r--r--Master/texmf-dist/tex/latex/listings/lstlang3.sty45
1 files changed, 41 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/listings/lstlang3.sty b/Master/texmf-dist/tex/latex/listings/lstlang3.sty
index a94bae47021..9cc44697b2c 100644
--- a/Master/texmf-dist/tex/latex/listings/lstlang3.sty
+++ b/Master/texmf-dist/tex/latex/listings/lstlang3.sty
@@ -7,9 +7,10 @@
%% lstdrvrs.dtx (with options: `lang3')
%%
%% The listings package is copyright 1996--2004 Carsten Heinz, and
-%% continued maintenance on the package is copyright 2006--2007 Brooks Moses.
+%% continued maintenance on the package is copyright 2006--2007 Brooks
+%% Moses. From 2013 on the maintenance is done by Jobst Hoffmann.
%% The drivers are copyright 1997/1998/1999/2000/2001/2002/2003/2004/2006/
-%% 2007 any individual author listed in this file.
+%% 2007/2013 any individual author listed in this file.
%%
%% This file is distributed under the terms of the LaTeX Project Public
%% License from CTAN archives in directory macros/latex/base/lppl.txt.
@@ -18,10 +19,10 @@
%% This file is completely free and comes without any warranty.
%%
%% Send comments and ideas on the package, error reports and additional
-%% programming languages to Brooks Moses at <bmoses@dpdx.net>.
+%% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>.
%%
\ProvidesFile{lstlang3.sty}
- [2013/06/27 1.5pre1 listings language file]
+ [2013/08/05 1.5a listings language file]
\lst@definelanguage[68]{Algol}%
{morekeywords={abs,and,arg,begin,bin,bits,bool,by,bytes,case,channel,%
char,co,comment,compl,conj,divab,do,down,elem,elif,else,empty,%
@@ -527,6 +528,42 @@ SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},%
morecomment=[l]{--},
morestring=[b]",
}[keywords,comments,strings]%
+\lst@definelanguage{LLVM}{%
+ morekeywords={%
+ ret,br,switch,indirectbr,invoke,resume,unreachable,%
+ add,fadd,sub,fsub,mul,fmul,udiv,sdiv,fdiv,urem,srem,frem,%
+ shl,lshr,ashr,and,or,xor,%
+ extractelement,insertelement,shufflevector,%
+ extractvalue,insertvalue,%
+ alloca,load,store,fence,cmpxchg,atomicrmw,getelementptr,%
+ trunc,zext,sext,fptrunc,fpext,fptoui,fptosi,uitofp,sitofp,ptrtoint,%
+ inttoptr,bitcast,to,%
+ icmp,fcmp,phi,select,call,va_arg,landingpad,%
+ xchg,add,sub,and,nand,or,xor,max,min,umax,umin,%
+ eq,ne,ugt,uge,ult,ule,sgt,sge,slt,sle,%
+ false,oeq,ogt,oge,olt,ole,one,ord,ueq,ugt,uge,ult,ule,une,uno,true,%
+ private,linker_private,linker_private_weak,linker_private_weak_def_auto,%
+ internal,available_externally,linkonce,common,weak,appending,extern_weak,%
+ linkonce_odr,weak_odr,external,dllimport,dllexport,%
+ define,declare,%
+ zeroext,signext,inreg,byval,sret,noalias,nocapture,next,%
+ gc,%
+ address_safety,alignstack,alwaysinline,nonlazybind,inlinehint,naked,%
+ noimplicitfloat,noinline,noredzone,noreturn,nounwind,optsize,readnone,%
+ readonly,returns_twice,ssp,sspreq,uwtable,%
+ module,asm,%
+ target,datalayout,%
+ sideeffect,alignstack,%
+ nuw,nsw,exact,inbounds,unnamed_addr},%
+ morekeywords=[2]{%
+ i1,i2,i4,i8,i16,i32,i64,i128,i256,i512,i1024,% <-- Most common integers
+ half,float,double,x86_fp80,fp128,ppc_fp128,x86mmx,%
+ void,label,metadata},%
+ alsoletter=.,%
+ sensitive=false,%
+ morecomment=[l];,%
+ morestring=[b]"%
+}
\lst@definelanguage{Logo}%
{morekeywords={and,atan,arctan,both,break,bf,bl,butfirst,butlast,%
cbreak, close,co,continue,cos,count,clearscreen,cs,debquit,%