diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/listings/lstlang2.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/listings/lstlang2.sty | 455 |
1 files changed, 226 insertions, 229 deletions
diff --git a/Master/texmf-dist/tex/latex/listings/lstlang2.sty b/Master/texmf-dist/tex/latex/listings/lstlang2.sty index b191d9ad29c..24dfaf3274a 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang2.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang2.sty @@ -14,7 +14,7 @@ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. -%% Either version 1.3 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{lstlang2.sty} - [2018/09/02 1.7 listings language file] + [2019/02/27 1.8b listings language file] %% %% Abap definition by Knut Lickert %% @@ -38,39 +38,41 @@ literate={->}{{$\rightarrow$}}1{=>}{{$\Rightarrow$}}1,% }[keywords,comments,strings,procnames] \lst@definelanguage[R/3 3.1]{ABAP}[R/2 5.0]{ABAP}{}% -\lst@definelanguage[R/2 5.0]{ABAP}% - {sensitive=f,% - procnamekeys={report,program,form,function,module},% - morekeywords={*,add,after,alias,analyzer,and,append,appending,area,assign,at,% - authority-check,before,binary,blank,break-point,calendar,call,% - case,change,changing,check,clear,cnt,co,collect,commit,common,% - component,compute,condense,corresponding,cos,cp,cs,currency-conversion,% - cursor,data,database,dataset,decimals,define,delete,deleting,dequeue,% - describe,detail,dialog,directory,div,divide,do,documentation,% - during,dynpro,else,end-of-page,end-of-selection,endat,endcase,% - enddo,endfor,endform,endif,endloop,endmodule,endselect,% - endwhile,enqueue,exceptions,exit,exp,export,exporting,extract,% - field,fields,field-groups,field-symbols,find,for,form,format,free,% - from,function,generating,get,giving,hide,id,if,import,% - importing,in,incl,include,initial,initialization,input,insert,% - interrupt,into,is,language,leave,leading,left-justified,like,line,lines,line-count, - line-selection,list-processing,load,local,log,logfile,loop,% - margin,mark,mask,memory,menue,message,mod,modify,module,move,% - move-text,multiply,na,new,new-line,new-page,no-gaps,np,ns,% - number,obligatory,occurs,of,on,or,others,output,parameter,% - parameters,parts,perform,pf-status,places,position,process,% - raise,raising,ranges,read,refresh,refresh-dynpro,reject,remote,% - replace,report,reserve,reset,restart,right-justified,run,screen,scroll,search,% - segments,select,select-options,selection-screen,set,shift,sin,% - single,sqrt,start-of-selection,statement,structure,submit,% - subtract,summary,summing,suppress,system,table,tables,task,% - text,time,to,top-of-page,trace,transaction,transfer,% - transfer-dynpro,translate,type,unpack,update,user-command,% - using,value,when,where,while,window,with,workfile,write,},% - morecomment=[l]",% - morecomment=[f][commentstyle][0]*,% - morestring=[d]'% - }[keywords,comments,strings,procnames] +\lst@definelanguage[R/2 5.0]{ABAP}{% + sensitive=f,% + procnamekeys={report,program,form,function,module},% + morekeywords={*, add, after, alias, analyzer, and, append, appending,% + area, assign, at, authority-check, before, binary, blank, break-point,% + calendar, call, case, change, changing, check, clear, cnt, co, collect,% + commit, common, component, compute, condense, corresponding, cos, cp,% + cs, currency-conversion, cursor, data, database, dataset, decimals,% + define, delete, deleting, dequeue, describe, detail, dialog, directory,% + div, divide, do, documentation, during, dynpro, else, end-of-page,% + end-of-selection, endat, endcase, enddo, endfor, endform, endif,% + endloop, endmodule, endselect, endwhile, enqueue, exceptions, exit,% + exp, export, exporting, extract, field, fields, field-groups,% + field-symbols, find, for, form, format, free, from, function,% + generating, get, giving, hide, id, if, import, importing, in, incl,% + include, initial, initialization, input, insert, interrupt, into, is,% + language, leave, leading, left-justified, like, line, lines,% + line-count, line-selection, list-processing, load, local, log, logfile,% + loop, margin, mark, mask, memory, menue, message, mod, modify, module,% + move, move-text, multiply, na, new, new-line, new-page, no-gaps, np,% + ns, number, obligatory, occurs, of, on, or, others, output, parameter,% + parameters, parts, perform, pf-status, places, position, process,% + raise, raising, ranges, read, refresh, refresh-dynpro, reject, remote,% + replace, report, reserve, reset, restart, right-justified, run, screen,% + scroll, search, segments, select, select-options, selection-screen,% + set, shift, sin, single, sqrt, start-of-selection, statement,% + structure, submit, subtract, summary, summing, suppress, system, table,% + tables, task, text, time, to, top-of-page, trace, transaction,% + transfer, transfer-dynpro, translate, type, unpack, update,% + user-command, using, value, when, where, while, window, with, workfile,% + write},% + morecomment=[l]",% + morecomment=[f][commentstyle][0]*,% + morestring=[d]'% +}[keywords,comments,strings,procnames] \lst@definelanguage[R/2 4.3]{ABAP}[R/2 5.0]{ABAP}% {deletekeywords={function,importing,exporting,changing,exceptions,% raise,raising}% @@ -79,19 +81,19 @@ %% ACM and ACMscript definition %% (c) 2013 Stefan Pinnow %% -\lst@definelanguage{ACM}{ - morekeywords={ - abs,After,acos,And,As,asin,atan,At,Call,Compatibility,Connect,cos,cosh,% - Create,Delay,Description,Difference,Do,Else,ElseIf,End,EndFor,EndIf,% - EndParallel,EndState,EndSwitch,EndText,EndWith,exp,External,Fixed,For,% - ForEach,Free,Global,Hidden,If,Implementation,In,Initial,Input,InterSection,% - IntegerSet,Invoke,Is,Language,Library,Link,Log10,LogE,Max,Min,Model,Of,% - Once,Options,Output,Parallel,Parameter,Pause,Port,Print,Private,% - Procedure,Product,Ramp,Repeat,Restart,Return,Round,Runs,Sigma,sin,sinh,% - Size,SnapShot,sqr,sqrt,SRamp,State,Stream,StringSet,Structure,Switch,% - SubRoutine,SymDiff,tan,tanh,Task,Text,Time,Then,Truncate,Union,Until,% - Uses,Variable,Wait,When,With,WithIn,WorkSpace% - },% +\lst@definelanguage{ACM}{% + morekeywords={ abs, After, acos, And, As, asin, atan, At, Call,% + Compatibility, Connect, cos, cosh, Create, Delay, Description,% + Difference, Do, Else, ElseIf, End, EndFor, EndIf, EndParallel,% + EndState, EndSwitch, EndText, EndWith, exp, External, Fixed, For,% + ForEach, Free, Global, Hidden, If, Implementation, In, Initial, Input,% + InterSection, IntegerSet, Invoke, Is, Language, Library, Link, Log10,% + LogE, Max, Min, Model, Of, Once, Options, Output, Parallel, Parameter,% + Pause, Port, Print, Private, Procedure, Product, Ramp, Repeat, Restart,% + Return, Round, Runs, Sigma, sin, sinh, Size, SnapShot, sqr, sqrt,% + SRamp, State, Stream, StringSet, Structure, Switch, SubRoutine,% + SymDiff, tan, tanh, Task, Text, Time, Then, Truncate, Union, Until,% + Uses, Variable, Wait, When, With, WithIn, WorkSpace},% sensitive=false,% morecomment=[l]{//},% morecomment=[s]{/*}{*/},% @@ -355,92 +357,86 @@ morestring=[b]",% morestring=[b]',% }[keywords,comments,strings]% -%% -%% http://gretl.sourceforge.net/gretl-help/cmdref.html -%% (c) 2013 Ignacio D\'iaz-Emparanza -%% \lst@definelanguage{hansl}{% - % $-variables are internal functions in hansl - keywordsprefix ={\$}, + showstringspaces = false, % morekeywords={ % hansl commands: - add,adf,anova,append,ar,ar1,% - arbond,arch,arima,biprobit,boxplot,break,% - catch,chow,clear,coeffsum,coint,coint2,% - corr,corrgm,cusum,data,dataset,debug,% - delete,diff,difftest,discrete,dpanel,dummify,% - duration,elif,else,end,endif,endloop,% - eqnprint,equation,estimate,fcast,foreign,fractint,% - freq,function,garch,genr,gmm,gnuplot,% - graphpg,hausman,heckit,help,hsk,hurst,% - if,include,info,intreg,join,kalman,% - kpss,labels,lad,lags,ldiff,leverage,% - levinlin,logistic,logit,logs,loop,mahal,% - makepkg,markers,meantest,mle,modeltab,modprint,% - modtest,mpols,negbin,nls,normtest,nulldata,% - ols,omit,open,orthdev,outfile,panel,% - pca,pergm,poisson,print,printf,probit,% - pvalue,qlrtest,qqplot,quantreg,quit,rename,% - reset,restrict,rmplot,run,runs,scatters,% - sdiff,set,setinfo,setobs,setmiss,shell,% - smpl,spearman,sprintf,square,sscanf,store,% - summary,system,tabprint,textplot,tobit,tsls,% - var,varlist,vartest,vecm,vif,wls,% - xcorrgm,xtab,scalar,series,matrix,string},% - morekeywords=[2]{ % Functions - abs,acos,acosh,aggregate,argname,% - asin,asinh,atan,atanh,atof,% - bessel,BFGSmax,bkfilt,boxcox,bwfilt,% - cdemean,cdf,cdiv,ceil,cholesky,% - chowlin,cmult,cnorm,colname,colnames,% - cols,corr,corrgm,cos,cosh,% - cov,critical,cum,deseas,det,% - diag,diagcat,diff,digamma,dnorm,% - dsort,dummify,eigengen,eigensym,eigsolve,% - epochday,errmsg,exp,fcstats,fdjac,% - fft,ffti,filter,firstobs,fixname,% - floor,fracdiff,gammafun,getenv,getline,% - ghk,gini,ginv,halton,hdprod,% - hpfilt,I,imaxc,imaxr,imhof,% - iminc,iminr,inbundle,infnorm,inlist,% - int,inv,invcdf,invmills,invpd,% - irf,irr,isconst,isnan,isnull,% - isodate,iwishart,kdensity,kfilter,ksimul,% - ksmooth,kurtosis,lags,lastobs,ldet,% - ldiff,lincomb,ljungbox,lngamma,log,% - log10,log2,loess,logistic,lower,% - lrvar,max,maxc,maxr,mcorr,% - mcov,mcovg,mean,meanc,meanr,% - median,mexp,min,minc,minr,% - missing,misszero,mlag,mnormal,mols,% - monthlen,movavg,mpols,mrandgen,mread,% - mreverse,mrls,mshape,msortby,muniform,% - mwrite,mxtab,nadarwat,nelem,ngetenv,% - nobs,normal,npv,NRmax,nullspace,% - obs,obslabel,obsnum,ok,onenorm,% - ones,orthdev,pdf,pergm,pmax,% - pmean,pmin,pnobs,polroots,polyfit,% - princomp,prodc,prodr,psd,psdroot,% - pshrink,psum,pvalue,pxsum,qform,% - qnorm,qrdecomp,quadtable,quantile,randgen,% - randgen1,randint,rank,ranking,rcond,% - readfile,regsub,remove,replace,resample,% - round,rownames,rows,sd,sdc,% - sdiff,selifc,selifr,seq,setnote,% - simann,sin,sinh,skewness,sort,% - sortby,sqrt,sscanf,sst,strlen,% - strncmp,strsplit,strstr,strstrip,strsub,% - sum,sumall,sumc,sumr,svd,% - tan,tanh,toepsolv,tolower,toupper,% - tr,transp,trimr,typestr,uniform,% - uniq,unvech,upper,urcpval,values,% - var,varname,varnum,varsimul,vec,% - vech,weekday,wmean,wsd,wvar,% - xmax,xmin,xpx,zeromiss,zeros,% + add, adf, anova, append, ar, ar1, arbond, arch, arima, biprobit, break,% + boxplot, chow, clear, coeffsum, coint, coint2, corr, corrgm, cusum,% + data, dataset, delete, diff, difftest, discrete, dpanel, dummify,% + duration, elif, else, end, endif, endloop, eqnprint, equation,% + estimate, eval, fcast, flush, foreign, fractint, freq, function,% + funcerr, garch, genr, gmm, gnuplot, graphpg, hausman, heckit, help,% + hfplot, hsk, hurst, if, include, info, intreg, join, kpss, labels, lad,% + lags, ldiff, leverage, levinlin, logistic, logit, logs, loop, mahal,% + makepkg, markers, meantest, midasreg, mle, modeltab, modprint, modtest,% + mpi, mpols, negbin, nls, normtest, nulldata, ols, omit, open, orthdev,% + outfile, panel, pca, pergm, plot, poisson, print, printf, probit,% + pvalue, quantreg, qlrtest, qqplot, quit, rename, reset, restrict,% + rmplot, run, runs, scatters, sdiff, set, setinfo, setobs, setopt,% + setmiss, smpl, spearman, square, store,% + summary, system, tabprint, textplot, tobit, tsls, var, varlist,% + vartest, vecm, vif, wls, xcorrgm, xtab, debug, return, catch, pkg,% + arma, deriv, params, hessian, for, foreach, while, const},% + morekeywords=[2]{ % accessors: + \$nobs, \$nvars, \$pd, \$t1, \$t2, \$tmax, \$datatype, \$test,% + \$pvalue, \$qlrbreak, \$rlnl, \$stopwatch, \$unit, \$obsmajor,% + \$obsminor, \$obsmicro, \$obsdate, \$windows, \$version, \$error,% + \$seed, \$huge, \$ess, \$T, \$rsq, \$sigma, \$df, \$ncoeff, \$lnl,% + \$gmmcrit, \$aic, \$bic, \$hqc, \$trsq, \$dw, \$dwpval, \$Fstat,% + \$chisq, \$diagtest, \$diagpval, \$pmanteau, \$uhat, \$yhat, \$llt,% + \$ahat, \$sample, \$h, \$coeff, \$stderr, \$vcv, \$rho, \$compan,% + \$xtxinv, \$vecGamma, \$vma, \$fevd, \$evals, \$jalpha, \$jbeta,% + \$jvbeta, \$s00, \$s11, \$s01, \$ec, \$hausman, \$sargan, \$sysGamma,% + \$sysA, \$sysB, \$fcast, \$fcse, \$coeff_ci, \$ehat, \$mnlprobs,% + \$xlist, \$ylist, \$command, \$depvar, \$model, \$system, \$sysinfo},% + morekeywords=[3]{ % functions + BFGScmax, BFGSmax, GSSmax, I, NMmax, NRmax, abs, acos, acosh,% + aggregate, argname, array, asin, asinh, atan, atanh, atof, bessel,% + bkfilt, bootci, bootpval, boxcox, bread, bwfilt, bwrite, cdemean, cdf,% + cdiv, cdummify, ceil, cholesky, chowlin, cmult, cnameget, cnameset,% + cnorm, cnumber, cols, corr, corrgm, cos, cosh, cov, critical, cum,% + curl, dayspan, defarray, defbundle, deflist, deseas, det, diag,% + diagcat, diff, digamma, dnorm, dropcoll, dsort, dummify, easterday,% + ecdf, eigengen, eigensym, eigsolve, epochday, errmsg, exists, exp,% + fcstats, fdjac, feval, fevd, fft, ffti, filter, firstobs, fixname,% + floor, fracdiff, fraclag, freq, gammafun, genseries, getenv, getinfo,% + getkeys, getline, ghk, gini, ginv, grab, halton, hdprod, hfdiff,% + hflags, hfldiff, hflist, hpfilt, imaxc, imaxr, imhof, iminc, iminr,% + inbundle, infnorm, inlist, instring, int, inv, invcdf, invmills, invpd,% + irf, irr, isconst, isdiscrete, isdummy, isnan, isoconv, isodate,% + iwishart, jsonget, jsongetb, juldate, kdensity, kdsmooth, kfilter,% + kmeier, kpsscrit, ksetup, ksimdata, ksimul, ksmooth, kurtosis, lags,% + lastobs, ldet, ldiff, lincomb, linearize, ljungbox, lngamma, loess,% + log, log10, log2, logistic, lower, lrcovar, lrvar, max, maxc, maxr,% + mcorr, mcov, mcovg, mean, meanc, meanr, median, mexp, mgradient, min,% + minc, minr, missing, misszero, mlag, mlincomb, mnormal, mols, monthlen,% + movavg, mpiallred, mpibcast, mpirecv, mpireduce, mpiscatter, mpisend,% + mpols, mrandgen, mread, mreverse, mrls, mshape, msortby, muniform,% + mweights, mwrite, mxtab, naalen, nadarwat, nelem, ngetenv, nlines,% + nobs, normal, normtest, npcorr, npv, nullspace, numhess, obslabel,% + obsnum, ok, onenorm, ones, orthdev, pdf, pergm, pexpand, pmax, pmean,% + pmin, pnobs, polroots, polyfit, princomp, printf, prodc, prodr, psd,% + psdroot, pshrink, psum, pvalue, pxnobs, pxsum, qform, qlrpval, qnorm,% + qrdecomp, quadtable, quantile, randgen, randgen1, randint, rank,% + ranking, rcond, readfile, regsub, remove, replace, resample, rnameget,% + rnameset, round, rows, sd, sdc, sdiff, seasonals, selifc, selifr, seq,% + setnote, simann, sin, sinh, skewness, sleep, smplspan, sort, sortby,% + sprintf, sqrt, square, sscanf, sst, stringify, strlen, strncmp,% + strsplit, strstr, strstrip, strsub, strvals, substr, sum, sumall, sumc,% + sumr, svd, svm, tan, tanh, toepsolv, tolower, toupper, tr, transp,% + trimr, typeof, typestr, uniform, uniq, unvech, upper, urcpval, values,% + var, varname, varnames, varnum, varsimul, vec, vech, weekday, wmean,% + wsd, wvar, xmax, xmin, xmlget, zeromiss, zeros, NMmin, GSSmin,% + BFGScmin, BFGSmin },% + morekeywords=[4]{ % genr aliases: + null, series, scalar, matrix, string, list, bundle, strings, matrices,% + bundles, lists% },% sensitive=t,% morecomment=[l]{\#},% morecomment=[s]{/*}{*/},% - morestring=[b]{"}}% + morestring=[b]{"}% +}% \lstalias{gretl}{hansl} %% %% Haskell98 as implemented in Hugs98. See http://www.haskell.org @@ -536,88 +532,89 @@ %% Inform definition (c) 2003 Jonathan Sauer %% \lst@definelanguage{inform}{% - % Language keywords - morekeywords={breakdo,else,false,for,has,hasnt,if,% - in,indirect,jump,notin,nothing,NULL,objectloop,ofclass,% - private,property,provides,return,rfalse,rtrue,self,string,% - switch,to,true,until,while,with,% - creature,held,multiexcept,multiheld,multiinside,noun,number,% - scope,topic},% - % - % Inform functions - morekeywords=[2]{box,child,children,font,give,inversion,metaclass,move,% - new_line,parent,print,print_ret,read,remove,restore,sibling,% - save,spaces,quit,style,bold,underline,reverse,roman remaining,% - create,destroy,recreate,copy},% - % - % Inform definitions - morekeywords=[3]{Attribute,Array,Class,Constant,Default,End,Endif,Extend,% - Global,Ifdef,Iffalse,Ifndef,Ifnot,Iftrue,Include,Object,% - Property,Verb,Release,Serial,Statusline},% - % - % Library attributes - morekeywords=[4]{absent,animate,clothing,concealed,container,door,edible,% - enterable,female,general,light,lockable locked,male,moved,% - neuter,on,open,openable,pluralname,proper,scenery,scored,% - static,supporter,switchable,talkable,transparent,visited,% - workflag,worn},% - % - % Library properties - morekeywords=[5]{n_to,s_to,e_to,w_to,ne_to,nw_to,se_to,sw_to,in_to,% - out_to,u_to,d_to,add_to_scope,after,article,articles,before,% - cant_go,capacity,daemon,describe,description,door_dir,door_to,% - each_turn,found_in,grammar,initial,inside_description,invent,% - life,list_together,name number,orders,parse_name,plural,% - react_after,react_before,short_name,short_name_indef,time_left,% - time_out,when_closed,when_open,when_on,when_off,% - with_key},% - % - % Library routines - morekeywords=[6]{Achieved,AfterRoutines,AllowPushDir,Banner,ChangePlayer,% - CommonAncestor,DictionaryLookup,GetGNAOfObject,HasLightSource,% - IndirectlyContains,IsSeeThrough,Locale,LoopOverScope,LTI_Insert,% - MoveFloatingObjects,NextWord,NextWordStopped,NounDomain,% - ObjectIsUntouchable OffersLight,ParseToken,PlaceInScope,PlayerTo,% - PronounNotice,PronounValue,ScopeWithin,SetPronoun,SetTime,% - StartDaemon,StartTimer,StopDaemon,StopTimer,TestScope,TryNumber,% - UnsignedCompare,WordAddress,WordInProperty,WordLength,% - WriteListFrom,YesOrNo},% - % - % Library,entry points - morekeywords=[7]{AfterLife,AfterPrompt,Amusing,BeforeParsing,ChooseObjects,% - DarkToDark,DeathMessage,GamePostRoutine GamePreRoutine,% - Initialise,InScope,LookRoutine,NewRoom,ParseNoun,ParseNumber,% - ParserError,PrintRank,PrintTaskName,PrintVerb,TimePasses,% - UnknownVerb},% - % - % Library constants - morekeywords=[8]{NEWLINE_BIT,INDENT_BIT,FULLINV_BIT,ENGLISH_BIT,RECURSE_BIT,% - ALWAYS_BIT,TERSE_BIT,PARTINV_BIT,DEFART_BIT,WORKFLAG_BIT,% - ISARE_BIT,CONCEAL_BIT},% - % - % Library,meta actions - morekeywords=[9]{Pronouns,Quit,Restart,Restore,Save,Verify,ScriptOn,ScriptOff,% - NotifyOn,NotifyOff,Places,Objects,Score,FullScore,Version,LMode1,% - LMode2,Lmode3},% - % - % Library,main actions - morekeywords=[10]{Close,Disrobe,Drop,Eat,Empty,EmptyT,Enter,Examine,Exit,GetOff,% - Give,Go,GoIn,Insert,Inv,InvTall,InvWide,Lock,Look,Open,PutOn,Remove,% - Search,Show,SwitchOff,SwitchOn,Take,Transfer,Unlock VagueGo,% - Wear},% - % - % Library,stub actions - morekeywords=[11]{Answer,Ask,AskFor,Attack,Blow,Burn,Buy,Climb,Consult,Cut,Dig,% - Drink,Fill,Jump,JumpOver,Kiss,Listen,LookUnder,Mild,No,Pray,Pull,% - Push,PushDir,Rub,Set,SetTo,Sing,Sleep,Smell,,Sleep,Smell,Sorry,% - Squeeze,Strong,Swim,Swing,Taste,Tell,Think,ThrowAt,Tie,Touch,Turn,% - Wait,Wake,WakeOther,Wave,WaveHands,Yes},% - % - otherkeywords={->,-->},% - sensitive=false,% - morestring=[d]{"},% - morecomment=[l]{!}% - }[keywords,comments,strings]% + % Language keywords + morekeywords={breakdo,else,false,for,has,hasnt,if,% + in,indirect,jump,notin,nothing,NULL,objectloop,ofclass,% + private,property,provides,return,rfalse,rtrue,self,string,% + switch,to,true,until,while,with,% + creature,held,multiexcept,multiheld,multiinside,noun,number,% + scope,topic},% + % + % Inform functions + morekeywords=[2]{box,child,children,font,give,inversion,metaclass,move,% + new_line,parent,print,print_ret,read,remove,restore,sibling,% + save,spaces,quit,style,bold,underline,reverse,roman remaining,% + create,destroy,recreate,copy},% + % + % Inform definitions + morekeywords=[3]{Attribute,Array,Class,Constant,Default,End,Endif,Extend,% + Global,Ifdef,Iffalse,Ifndef,Ifnot,Iftrue,Include,Object,% + Property,Verb,Release,Serial,Statusline},% + % + % Library attributes + morekeywords=[4]{absent,animate,clothing,concealed,container,door,edible,% + enterable,female,general,light,lockable locked,male,moved,% + neuter,on,open,openable,pluralname,proper,scenery,scored,% + static,supporter,switchable,talkable,transparent,visited,% + workflag,worn},% + % + % Library properties + morekeywords=[5]{n_to,s_to,e_to,w_to,ne_to,nw_to,se_to,sw_to,in_to,% + out_to,u_to,d_to,add_to_scope,after,article,articles,before,% + cant_go,capacity,daemon,describe,description,door_dir,door_to,% + each_turn,found_in,grammar,initial,inside_description,invent,% + life,list_together,name number,orders,parse_name,plural,% + react_after,react_before,short_name,short_name_indef,time_left,% + time_out,when_closed,when_open,when_on,when_off,% + with_key},% + % + % Library routines + morekeywords=[6]{Achieved,AfterRoutines,AllowPushDir,Banner,ChangePlayer,% + CommonAncestor,DictionaryLookup,GetGNAOfObject,HasLightSource,% + IndirectlyContains,IsSeeThrough,Locale,LoopOverScope,LTI_Insert,% + MoveFloatingObjects,NextWord,NextWordStopped,NounDomain,% + ObjectIsUntouchable OffersLight,ParseToken,PlaceInScope,PlayerTo,% + PronounNotice,PronounValue,ScopeWithin,SetPronoun,SetTime,% + StartDaemon,StartTimer,StopDaemon,StopTimer,TestScope,TryNumber,% + UnsignedCompare,WordAddress,WordInProperty,WordLength,% + WriteListFrom,YesOrNo},% + % + % Library,entry points + morekeywords=[7]{AfterLife,AfterPrompt,Amusing,BeforeParsing,ChooseObjects,% + DarkToDark,DeathMessage,GamePostRoutine GamePreRoutine,% + Initialise,InScope,LookRoutine,NewRoom,ParseNoun,ParseNumber,% + ParserError,PrintRank,PrintTaskName,PrintVerb,TimePasses,% + UnknownVerb},% + % + % Library constants + morekeywords=[8]{NEWLINE_BIT,INDENT_BIT,FULLINV_BIT,ENGLISH_BIT,% + RECURSE_BIT,ALWAYS_BIT,TERSE_BIT,PARTINV_BIT,DEFART_BIT,% + WORKFLAG_BIT,ISARE_BIT,CONCEAL_BIT},% + % + % Library,meta actions + morekeywords=[9]{Pronouns,Quit,Restart,Restore,Save,Verify,ScriptOn,% + ScriptOff,NotifyOn,NotifyOff,Places,Objects,Score,FullScore,Version,% + LMode1,LMode2,LMode3},% + % + % Library,main actions + morekeywords=[10]{Close,Disrobe,Drop,Eat,Empty,EmptyT,Enter,Examine,% + Exit,GetOff,Give,Go,GoIn,Insert,Inv,InvTall,InvWide,Lock,Look,Open,% + PutOn,Remove,Search,Show,SwitchOff,SwitchOn,Take,Transfer,% + Unlock VagueGo, Wear},% + % + % Library,stub actions + morekeywords=[11]{Answer,Ask,AskFor,Attack,Blow,Burn,Buy,Climb,% + Consult,Cut,Dig,Drink,Fill,Jump,JumpOver,Kiss,Listen,LookUnder,% + Mild,No,Pray,Pull,Push,PushDir,Rub,Set,SetTo,Sing,Sleep,Smell,% + Sleep,Smell,Sorry,Squeeze,Strong,Swim,Swing,Taste,Tell,Think,% + ThrowAt,Tie,Touch,Turn, + Wait,Wake,WakeOther,Wave,WaveHands,Yes},% + % + otherkeywords={->,-->},% + sensitive=false,% + morestring=[d]{"},% + morecomment=[l]{!}% +}[keywords,comments,strings]% \lst@definelanguage{Lisp}% {morekeywords={abort,abs,acons,acos,acosh,adjoin,alphanumericp,alter,% append,apply,apropos,aref,arrayp,ash,asin,asinh,assoc,atan,atanh,% @@ -656,7 +653,7 @@ incf,iterate,labels,let,locally,loop,macrolet,mapping,or,pop,% producing,prog,psetf,psetq,push,pushnew,remf,return,rotatef,% setf,shiftf,step,time,trace,typecase,unless,untrace,when},% - sensitive,% ??? + sensitive=false,% ??? alsodigit=-,% morecomment=[l];,% morecomment=[s]{\#|}{|\#},% 1997 Aslak Raanes @@ -1635,7 +1632,7 @@ 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, + 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,% @@ -1833,23 +1830,23 @@ %% %% VRML definition (c) 2001 Oliver Baum %% -\lst@definelanguage[97]{VRML} - {morekeywords={DEF,EXTERNPROTO,FALSE,IS,NULL,PROTO,ROUTE,TO,TRUE,USE,% - eventIn,eventOut,exposedField,field,Introduction,Anchor,% - Appearance,AudioClip,Background,Billboard,Box,Collision,Color,% - ColorInterpolator,Cone,Coordinate,CoordinateInterpolator,% - Cylinder,CylinderSensor,DirectionalLight,ElevationGrid,Extrusion,% - Fog,FontStyle,Group,ImageTexture,IndexedFaceSet,IndexedLineSet,% - Inline,LOD,Material,MovieTexture,NavigationInfo,Normal,% - NormalInterpolator,OrientationInterpolator,PixelTexture,% - PlaneSensor,PointLight,PointSet,PositionInterpolator,% - ProximitySensor,ScalarInterpolator,Script,Shape,Sound,Sphere,% - SphereSensor,SpotLight,Switch,Text,TextureCoordinate,% - TextureTransform,TimeSensor,TouchSensor,Transform,Viewpoint,% - VisibilitySensor,WorldInfo},% - morecomment=[l]\#,% bug: starts comment in the first column - morestring=[b]"% - }[keywords,comments,strings] +\lst@definelanguage[97]{VRML}{% + morekeywords={DEF, EXTERNPROTO, FALSE, IS, NULL, PROTO, ROUTE, TO, TRUE,% + USE, eventIn, eventOut, exposedField, field, Introduction, Anchor,% + Appearance, AudioClip, Background, Billboard, Box, Collision, Color,% + ColorInterpolator, Cone, Coordinate, CoordinateInterpolator, Cylinder,% + CylinderSensor, DirectionalLight, ElevationGrid, Extrusion, Fog,% + FontStyle, Group, ImageTexture, IndexedFaceSet, IndexedLineSet, Inline,% + LOD, Material, MovieTexture, NavigationInfo, Normal,% + NormalInterpolator, OrientationInterpolator, PixelTexture, PlaneSensor,% + PointLight, PointSet, PositionInterpolator, ProximitySensor,% + ScalarInterpolator, Script, Shape, Sound, Sphere, SphereSensor,% + SpotLight, Switch, Text, TextureCoordinate, TextureTransform,% + TimeSensor, TouchSensor, Transform, Viewpoint, VisibilitySensor,% + WorldInfo},% + morecomment=[l]\#,% bug: starts comment in the first column + morestring=[b]"% +}[keywords,comments,strings] \endinput %% %% End of file `lstlang2.sty'. |