From f7542e8c8eb40cdaf2f500bae11970fa96a3b11b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 6 Aug 2013 22:25:34 +0000 Subject: listings (6aug13) git-svn-id: svn://tug.org/texlive/trunk@31366 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/listings/listings.cfg | 9 +++-- Master/texmf-dist/tex/latex/listings/listings.sty | 7 ++-- Master/texmf-dist/tex/latex/listings/lstdoc.sty | 7 ++-- Master/texmf-dist/tex/latex/listings/lstlang1.sty | 9 +++-- Master/texmf-dist/tex/latex/listings/lstlang2.sty | 29 +++++++++++++-- Master/texmf-dist/tex/latex/listings/lstlang3.sty | 45 +++++++++++++++++++++-- Master/texmf-dist/tex/latex/listings/lstmisc.sty | 7 ++-- 7 files changed, 88 insertions(+), 25 deletions(-) (limited to 'Master/texmf-dist/tex/latex/listings') diff --git a/Master/texmf-dist/tex/latex/listings/listings.cfg b/Master/texmf-dist/tex/latex/listings/listings.cfg index d6198171e82..eb594329b6b 100644 --- a/Master/texmf-dist/tex/latex/listings/listings.cfg +++ b/Master/texmf-dist/tex/latex/listings/listings.cfg @@ -7,9 +7,10 @@ %% lstdrvrs.dtx (with options: `config') %% %% 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,9 +19,9 @@ %% 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 . +%% programming languages to Jobst Hoffmann at . %% -\ProvidesFile{listings.cfg}[2013/06/27 1.5pre1 listings configuration] +\ProvidesFile{listings.cfg}[2013/08/05 1.5a listings configuration] \def\lstlanguagefiles {lstlang0.sty,lstlang1.sty,lstlang2.sty,lstlang3.sty} \lstset{defaultdialect=[R/3 6.10]ABAP, diff --git a/Master/texmf-dist/tex/latex/listings/listings.sty b/Master/texmf-dist/tex/latex/listings/listings.sty index 602063c2be1..ea40d47c06a 100644 --- a/Master/texmf-dist/tex/latex/listings/listings.sty +++ b/Master/texmf-dist/tex/latex/listings/listings.sty @@ -11,12 +11,13 @@ %% (w)(c) 1996--2004 Carsten Heinz and/or any other author listed %% elsewhere in this file. %% (c) 2006 Brooks Moses +%% (c) 2013- Jobst Hoffmann %% %% Send comments and ideas on the package, error reports and additional -%% programming languages to . +%% programming languages to Jobst Hoffmann at . %% -\def\filedate{2013/07/10} -\def\fileversion{1.5} +\def\filedate{2013/08/05} +\def\fileversion{1.5a} \NeedsTeXFormat{LaTeX2e} \AtEndOfPackage{\ProvidesPackage{listings} [\filedate\space\fileversion\space(Carsten Heinz)]} diff --git a/Master/texmf-dist/tex/latex/listings/lstdoc.sty b/Master/texmf-dist/tex/latex/listings/lstdoc.sty index 7be04f51fb9..664df2a4889 100644 --- a/Master/texmf-dist/tex/latex/listings/lstdoc.sty +++ b/Master/texmf-dist/tex/latex/listings/lstdoc.sty @@ -11,12 +11,13 @@ %% (w)(c) 1996--2004 Carsten Heinz and/or any other author listed %% elsewhere in this file. %% (c) 2006 Brooks Moses +%% (c) 2013- Jobst Hoffmann %% %% Send comments and ideas on the package, error reports and additional -%% programming languages to . +%% programming languages to Jobst Hoffmann at . %% -\def\filedate{2013/07/10} -\def\fileversion{1.5} +\def\filedate{2013/08/05} +\def\fileversion{1.5a} \ProvidesPackage{lstdoc} [\filedate\space\fileversion\space(Carsten Heinz)] \let\lstdoc@currversion\fileversion diff --git a/Master/texmf-dist/tex/latex/listings/lstlang1.sty b/Master/texmf-dist/tex/latex/listings/lstlang1.sty index 47bbb5ea572..a4ef4d02577 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang1.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang1.sty @@ -7,9 +7,10 @@ %% lstdrvrs.dtx (with options: `lang1') %% %% 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 . +%% programming languages to Jobst Hoffmann at . %% \ProvidesFile{lstlang1.sty} - [2013/06/27 1.5pre1 listings language file] + [2013/08/05 1.5a listings language file] %% %% ACSL definition (c) 2000 by Andreas Matthias %% diff --git a/Master/texmf-dist/tex/latex/listings/lstlang2.sty b/Master/texmf-dist/tex/latex/listings/lstlang2.sty index ab296a3e372..4a69722b82c 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang2.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang2.sty @@ -7,9 +7,10 @@ %% lstdrvrs.dtx (with options: `lang2') %% %% 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 . +%% programming languages to Jobst Hoffmann at . %% \ProvidesFile{lstlang2.sty} - [2013/06/27 1.5pre1 listings language file] + [2013/08/05 1.5a listings language file] %% %% Abap definition by Knut Lickert %% @@ -256,6 +257,26 @@ morestring=[d]"% }[keywords,comments,strings]% %% +%% GAP definition +%% (c) 2013 Heiko Oberdiek +%% +\lst@definelanguage{GAP}{% + morekeywords={% + Assert,Info,IsBound,QUIT,% + TryNextMethod,Unbind,and,break,% + continue,do,elif,% + else,end,false,fi,for,% + function,if,in,local,% + mod,not,od,or,% + quit,rec,repeat,return,% + then,true,until,while% + },% + sensitive,% + morecomment=[l]\#,% + morestring=[b]",% + morestring=[b]',% +}[keywords,comments,strings] +%% %% Guarded Command Language (GCL) definition %% (c) 2002 Mark van Eijk %% 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 . +%% programming languages to Jobst Hoffmann at . %% \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,% diff --git a/Master/texmf-dist/tex/latex/listings/lstmisc.sty b/Master/texmf-dist/tex/latex/listings/lstmisc.sty index 0b8e55d65d4..06f9ea3cfe6 100644 --- a/Master/texmf-dist/tex/latex/listings/lstmisc.sty +++ b/Master/texmf-dist/tex/latex/listings/lstmisc.sty @@ -11,12 +11,13 @@ %% (w)(c) 1996--2004 Carsten Heinz and/or any other author listed %% elsewhere in this file. %% (c) 2006 Brooks Moses +%% (c) 2013- Jobst Hoffmann %% %% Send comments and ideas on the package, error reports and additional -%% programming languages to . +%% programming languages to Jobst Hoffmann at . %% -\def\filedate{2013/07/10} -\def\fileversion{1.5} +\def\filedate{2013/08/05} +\def\fileversion{1.5a} \ProvidesFile{lstmisc.sty} [\filedate\space\fileversion\space(Carsten Heinz)] \lst@CheckVersion\fileversion -- cgit v1.2.3