Changes in doc/LaTeXmacros/lstlang.sty [8bdc9705:75d789c]
- File:
-
- 1 edited
-
doc/LaTeXmacros/lstlang.sty (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/lstlang.sty
r8bdc9705 r75d789c 8 8 %% Created On : Sat May 13 16:34:42 2017 9 9 %% Last Modified By : Peter A. Buhr 10 %% Last Modified On : Tue Mar 12 17:29:58 202411 %% Update Count : 4 210 %% Last Modified On : Sat Mar 9 17:03:58 2024 11 %% Update Count : 41 12 12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 13 13 … … 99 99 } 100 100 101 \lstdefinelanguage{OCaml}% 102 {morekeywords={ 103 and, as, asr, assert, begin, class, constraint do, done, downto, else, end, exception, external, 104 false, for, fun, function, functor, if, in, include, inherit, initializer, land, lazy, let, lor, lsl, lsr, lxor, 105 match, method, mod, module, open, mutable, new, nonrec, object, of, open, open!, or, private, rec, 106 sig, struct, then, to, true, try, type, val, virtual, when, while, with 107 }, 108 sensitive,% 109 morecomment=[n]{(*}{*)},% 110 morestring=[d]"% 111 }[keywords,comments,strings]% 101 \lstdefinelanguage{pseudo}{ 102 morekeywords={string,uint,int,bool,float}, 103 sensitive=true, 104 morecomment=[l]{//}, 105 morecomment=[s]{/*}{*/}, 106 morestring=[b]', 107 morestring=[b]", 108 morestring=[s]{`}{`}, 109 } 112 110 113 111 % CFA programming language, based on ANSI C (with some gcc additions) … … 137 135 } 138 136 139 % pseudo code140 \lstdefinelanguage{pseudo}{141 morekeywords={string,uint,int,bool,float},142 sensitive=true,143 morecomment=[l]{//},144 morecomment=[s]{/*}{*/},145 morestring=[b]',146 morestring=[b]",147 morestring=[s]{`}{`},148 }149 150 137 % Local Variables: % 151 138 % tab-width: 4 %
Note:
See TracChangeset
for help on using the changeset viewer.