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.sty29
1 files changed, 25 insertions, 4 deletions
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 <bmoses@dpdx.net>.
+%% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>.
%%
\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
%%