diff options
Diffstat (limited to 'macros/latex/contrib/listings/lstdrvrs.dtx')
-rw-r--r-- | macros/latex/contrib/listings/lstdrvrs.dtx | 46 |
1 files changed, 28 insertions, 18 deletions
diff --git a/macros/latex/contrib/listings/lstdrvrs.dtx b/macros/latex/contrib/listings/lstdrvrs.dtx index 1d2f4cc5a2..02dc1ea88a 100644 --- a/macros/latex/contrib/listings/lstdrvrs.dtx +++ b/macros/latex/contrib/listings/lstdrvrs.dtx @@ -1,6 +1,6 @@ % \iffalse % -% $Id$ +% Time-stamp: <2024-02-17 18:25:08 ax006ho> % %<*driver> \documentclass{ltxdoc} @@ -33,7 +33,7 @@ % \title{Language, Style and Format drivers\\ for \textsf{Listings}\\ % {\large by Carsten Heinz and individual authors:}} % \author{\InputIfFileExists{lstdrvrs.tmp}{}{}} -% \date{2023/02/27\enspace\enspace Version 1.9\ \box\abstractbox} +% \date{2024/02/21\enspace\enspace Version 1.10\ \box\abstractbox} % % \ifhyper % \hypersetup{pdftitle={Language, Style and Format drivers for the @@ -137,7 +137,7 @@ % \endgroup % We mainly define default dialects. % \begin{macrocode} -\ProvidesFile{listings.cfg}[2023/02/27 1.9 listings configuration] +\ProvidesFile{listings.cfg}[2024/02/21 1.10 listings configuration] \def\lstlanguagefiles {lstlang0.sty,lstlang1.sty,lstlang2.sty,lstlang3.sty} \lstset{defaultdialect=[R/3 6.10]ABAP, @@ -184,7 +184,7 @@ %<+hansl-prf>\ProvidesFile{listings-hansl.prf} %<+lua-prf>\ProvidesFile{listings-lua.prf} %<+python-prf>\ProvidesFile{listings-python.prf} -%<-config> [2023/02/27 1.9 listings language file] +%<-config> [2024/02/21 1.10 listings language file] % \end{macrocode} % % @@ -1743,7 +1743,13 @@ CO_MAX, CO_MIN, CO_SUM, CO_REDUCE, ATOMIC_ADD, ATOMIC_AND, ATOMIC_OR, ATOMIC_XOR, ATOMIC_FETCH_ADD, ATOMIC_FETCH_AND, ATOMIC_FETCH_OR, ATOMIC_FETCH_XOR, ATOMIC_FETCH_CAS, IEEE_GET_MODES, IEEE_SET_MODES, - IEEE_FMA, IEEE_SIGNBIT, IEEE_INT, IEEE_REM, IEEE_MAX_NUM, IEEE_MAX_NUM_MAG, IEEE_MIN_NUM, IEEE_MAX_NUM_MAG, IEEE_NEXT_DOWN, IEEE_NEXT_UP, IEEE_SUPPORT_DATATYPE, IEEE_QUIET_EQ, IEEE_QUIET_GE, IEEE_QUIET_GT, IEEE_QUIET_LE, IEEE_QUIET_LT, IEEE_QUIET_NE, IEEE_SIGNALING_EQ, IEEE_SIGNALING_GE, IEEE_SIGNALING_GT, IEEE_SIGNALING_LE, IEEE_SIGNALING_LT, IEEE_SIGNALING_NE}% + IEEE_FMA, IEEE_SIGNBIT, IEEE_INT, IEEE_REM, IEEE_MAX_NUM, + IEEE_MAX_NUM_MAG, + IEEE_MIN_NUM, IEEE_MAX_NUM_MAG, IEEE_NEXT_DOWN, IEEE_NEXT_UP, + IEEE_SUPPORT_DATATYPE, IEEE_QUIET_EQ, IEEE_QUIET_GE, IEEE_QUIET_GT, + IEEE_QUIET_LE, IEEE_QUIET_LT, IEEE_QUIET_NE, IEEE_SIGNALING_EQ, + IEEE_SIGNALING_GE, IEEE_SIGNALING_GT, IEEE_SIGNALING_LE, + IEEE_SIGNALING_LT, IEEE_SIGNALING_NE}% }% % \end{macrocode} % @@ -7917,11 +7923,11 @@ morecomment=[l]!% %% classic rexx listings definition %% by Patrick TJ McPhee <ptjm@interlog.com> %% -\lst@definelanguage{Rexx} - {morekeywords={address,arg,call,do,drop,else,end,exit,if,iterate,% - interpret,leave,nop,numeric,options,otherwise,parse,% - procedure,pull,push,queue,return,say,signal,then,to,% - trace,when},% +\lst@definelanguage{Rexx}{% + morekeywords={address,arg,call,do,drop,else,end,exit,if,interpret,% + iterate,leave,nop,numeric,options,otherwise,parse,% + procedure,pull,push,queue,return,say,select,signal,then,% + to,trace,when},% sensitive=false,% morecomment=[n]{/*}{*/},% morestring=[d]{'},% @@ -7953,18 +7959,18 @@ morecomment=[l]!% 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,% + morekeywords=[2]{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},% + lastpos,left,length,linein,lineout,lines,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},% + morekeywords=[3]{result,rc,self,sigl,super},% sensitive=false,% morestring=[d]",% morestring=[d]',% morecomment=[s]{/*}{*/},% - alsoletter={:},% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} @@ -7983,8 +7989,12 @@ morecomment=[l]!% %% %% ooREXX keywords (http://www.oorexx.org/) \lst@definelanguage[]{OORexx}[VM/XA]{Rexx}{% - morekeywords={::class, ::method, ::attribute},% -} + morekeywords={::annotate, ::attribute, ::class, ::constant, ::method,% + ::options, ::requires, ::resource, ::routine,% + forward, guard, local, loop, raise, strict,% + },% + alsoletter={:},% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} %</lang2> |