Changeset 1cdfa82 for doc/LaTeXmacros/lstlang.sty
- Timestamp:
- Apr 25, 2018, 4:55:53 PM (8 years ago)
- Branches:
- new-env, with_gc
- Children:
- 42107b4
- Parents:
- 2efe4b8 (diff), 9d5fb67 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
doc/LaTeXmacros/lstlang.sty (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/lstlang.sty
r2efe4b8 r1cdfa82 8 8 %% Created On : Sat May 13 16:34:42 2017 9 9 %% Last Modified By : Peter A. Buhr 10 %% Last Modified On : Wed Aug 30 22:11:14 201711 %% Update Count : 1410 %% Last Modified On : Fri Apr 6 23:44:50 2018 11 %% Update Count : 20 12 12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 13 13 … … 31 31 \lstdefinelanguage{sml} { 32 32 morekeywords= { 33 EQUAL, GREATER, LESS, NONE, SOME, abstraction, abstype, and, andalso, array, as, before, bool, 34 case, char, datatype, do, else, end, eqtype, exception, exn, false, fn, fun, functor, handle, 35 if, in, include, infix, infixr, int, let, list, local, nil, nonfix, not, o, of, op, open, 36 option, orelse, overload, print, raise, real, rec, ref, sharing, sig, signature, string, struct, 37 structure, substring, then, true, type, unit, val, vector, where, while, with, withtype, word 38 }, 39 morestring=[b]", 40 morecomment=[s]{(*}{*)}, 33 EQUAL, GREATER, LESS, NONE, SOME, abstraction, abstype, and, andalso, array, as, before, 34 bool, case, char, datatype, do, else, end, eqtype, exception, exn, false, fn, fun, functor, 35 handle, if, in, include, infix, infixr, int, let, list, local, nil, nonfix, not, o, of, op, 36 open, option, orelse, overload, print, raise, real, rec, ref, sharing, sig, signature, 37 string, struct, structure, substring, then, true, type, unit, val, vector, where, while, 38 with, withtype, word 39 }, 40 morestring=[b]", 41 morecomment=[s]{(*}{*)}, 41 42 } 42 43 … … 82 83 83 84 \lstdefinelanguage{rust}{ 85 % Keywords 84 86 morekeywords=[1]{ 85 87 abstract, alignof, as, become, box, break, const, continue, crate, do, else, enum, extern, 86 false, final, fn, for, if, impl, in, let, loop, macro, match, mod, move, mut, offsetof,87 override, priv, proc, pub, pure, ref, return, Self, self, sizeof, static, struct, super,88 trait, true, type, typeof, unsafe, unsized, use, virtual, where, while, yield88 false, final, fn, for, if, impl, in, let, loop, macro, match, mod, move, mut, offsetof, 89 override, priv, proc, pub, pure, ref, return, Self, self, sizeof, static, struct, super, 90 trait, true, type, typeof, unsafe, unsized, use, virtual, where, while, yield 89 91 }, 92 % Strings 90 93 morestring=[b]{"}, 94 % Comments 91 95 comment=[l]{//}, 92 96 morecomment=[s]{/*}{*/}, 97 % Options 93 98 sensitive=true 94 99 } 95 100 96 \lstdefinelanguage{ Pseudo}{101 \lstdefinelanguage{pseudo}{ 97 102 morekeywords={string,uint,int,bool,float}, 98 103 sensitive=true, … … 107 112 \lstdefinelanguage{CFA}[ANSI]{C}{ 108 113 morekeywords={ 109 _Alignas, _Alignof, __alignof, __alignof__, asm, __asm, __asm__, _ At, __attribute,110 __attribute__, auto, _Bool, catch, catchResume, choose, _Complex, __complex, __complex__,111 __const, __const__, disable, dtype, enable, __extension__, fallthrough, fallthru,112 finally, forall, ftype, _Generic, _Imaginary, inline, __label__, lvalue, _Noreturn, one_t,113 otype, restrict, _Static_assert, throw, throwResume, trait, try, ttype, typeof, __typeof,114 __typeof__, virtual, with, zero_t},115 morekeywords=[2]{116 _Atomic, coroutine, is_coroutine, is_monitor, is_thread, monitor, mutex, nomutex, or,117 resume, suspend, thread, _Thread_local, waitfor, when, yield},114 _Alignas, _Alignof, __alignof, __alignof__, asm, __asm, __asm__, __attribute, __attribute__, 115 auto, _Bool, catch, catchResume, choose, _Complex, __complex, __complex__, __const, __const__, 116 coroutine, disable, dtype, enable, __extension__, exception, fallthrough, fallthru, finally, 117 __float80, float80, __float128, float128, forall, ftype, _Generic, _Imaginary, __imag, __imag__, 118 inline, __inline, __inline__, __int128, int128, __label__, monitor, mutex, _Noreturn, one_t, or, 119 otype, restrict, __restrict, __restrict__, __signed, __signed__, _Static_assert, thread, 120 _Thread_local, throw, throwResume, timeout, trait, try, ttype, typeof, __typeof, __typeof__, 121 virtual, __volatile, __volatile__, waitfor, when, with, zero_t, 122 }, 118 123 moredirectives={defined,include_next}% 119 124 }
Note:
See TracChangeset
for help on using the changeset viewer.