Changeset e7b04a3
- Timestamp:
- Feb 12, 2024, 1:10:36 PM (15 months ago)
- Branches:
- master
- Children:
- c0d8e62, f431ab26
- Parents:
- c185ca9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/lstlang.sty
rc185ca9 re7b04a3 8 8 %% Created On : Sat May 13 16:34:42 2017 9 9 %% Last Modified By : Peter A. Buhr 10 %% Last Modified On : Thu Sep 21 08:40:05 202311 %% Update Count : 3 110 %% Last Modified On : Thu Feb 8 14:38:38 2024 11 %% Update Count : 32 12 12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 13 13 … … 138 138 } 139 139 140 \lstdefinelanguage{swift}{ 141 morekeywords={ 142 open,catch,@escaping,nil,throws,func,if,then,else,for,in,while,do,switch,case,default,where,break,continue,fallthrough,return, 143 typealias,struct,class,enum,protocol,var,func,let,get,set,willSet,didSet,inout,init,deinit,extension, 144 subscript,prefix,operator,infix,postfix,precedence,associativity,left,right,none,convenience,dynamic, 145 final,lazy,mutating,nonmutating,optional,override,required,static,unowned,safe,weak,internal, 146 private,public,is,as,self,unsafe,dynamicType,true,false,nil,Type,Protocol, 147 }, 148 morecomment=[l]{//}, % l is for line comment 149 morecomment=[s]{/*}{*/}, % s is for start and end delimiter 150 morestring=[b]", % defines that strings are enclosed in double quotes 151 breaklines=true, 152 escapeinside={\%*}{*)}, 153 captionpos=b, 154 breakatwhitespace=true, 155 } 156 140 157 % Local Variables: % 141 158 % tab-width: 4 %
Note: See TracChangeset
for help on using the changeset viewer.