From a2ccafd92ea630542d85873ed29d47dcd386a865 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 3 Sep 2018 21:13:01 +0000
Subject: listings (3sep18)

git-svn-id: svn://tug.org/texlive/trunk@48566 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/listings/lstlang2.sty | 41 ++++++++++++++++++++++-
 1 file changed, 40 insertions(+), 1 deletion(-)

(limited to 'Master/texmf-dist/tex/latex/listings/lstlang2.sty')

diff --git a/Master/texmf-dist/tex/latex/listings/lstlang2.sty b/Master/texmf-dist/tex/latex/listings/lstlang2.sty
index d9a8fa34489..b191d9ad29c 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}
-    [2015/06/04 1.6 listings language file]
+    [2018/09/02 1.7 listings language file]
 %%
 %% Abap definition by Knut Lickert
 %%
@@ -757,6 +757,19 @@
    morecomment=[l];;,%
    morestring=[b]"%
   }[keywords,comments,strings]%
+\lst@definelanguage{elisp}[]{Lisp}{%
+  morekeywords={begin, car, cdr, cons, define, display, drop, filter,%
+    hash-ref, hash-set, if, load-file, lambda, length, map, message,%
+    progn, quote, require, setq, string-append, take, vector,%
+  },%
+  sensitive,%
+  alsodigit=->,%
+  otherkeywords={1+,1-},%
+  sensitive=true,%
+  morecomment=[l];,%
+  morecomment=[l];;,%
+  morestring=[b]"%
+}[keywords,comments,strings]%
 %%
 %% Lua definitions (c) 2013 Stephan Hennig
 %%
@@ -1614,6 +1627,32 @@
    morestring=[d]{'},%
    morestring=[d]{"},%
   }[keywords,comments,strings]%
+%%
+%% REXX keywords from System Product Interpreter Reference, VM/XA SP Release 1
+%% and Release 2
+\lst@definelanguage[VM/XA]{Rexx}[]{Rexx}{%
+  morekeywords={all,by,digits,commands,end,engineering,error,errors,expose,%
+    external,for,form,fuzz,halt,labels,intermediates,negative,normal,novalue,%
+    on,off,results,scan,scientific,select,source,stream,syntax,until,upper,%
+    value,var,version,while,with},%
+  ndkeywords={abbrev,abs,address,bitand,bitor,bitxor,center,centre,
+    compare,copies,c2d,c2x,datatype,date,delstr,delword,diag,diagrc,%
+    d2c,d2x,errortext,externals,find,format,index,insert,justify,%
+    lastpos,left,length,linesize,max,min,overlay,pos,queued,random,%
+    reverse,rigth,sign,sourceline,space,storage,strip,substr,subword,%
+    symbol,time,translate,trunc,userid,value,verify,word,wordindex,%
+    wordlength,words,xrange,x2c,x2d},%
+  sensitive=false,%
+  morestring=[d]",%
+  morestring=[d]',%
+  morecomment=[s]{/*}{*/},%
+  alsoletter={:},%
+}[keywords,comments,strings]%
+%%
+%% ooREXX keywords (http://www.oorexx.org/)
+\lst@definelanguage[]{OORexx}[VM/XA]{Rexx}{%
+  morekeywords={::class, ::method, ::attribute},%
+}
 \lst@definelanguage{Ruby}%
   {morekeywords={__FILE__,__LINE__,BEGIN,END,alias,and,begin,break,%
       case,class,def,defined?,do,else,elsif,end,ensure,false,for,%
-- 
cgit v1.2.3

