4 # Sergey Sharybin <sergey.vfx@gmail.com>
6 # Based on cxx.syntax file with some extra keywords to be
10 keyword whole auto yellow
11 keyword whole break yellow
12 keyword whole case yellow
13 keyword whole char yellow
14 keyword whole const yellow
15 keyword whole continue yellow
16 keyword whole default yellow
17 keyword whole do yellow
18 keyword whole double yellow
19 keyword whole else yellow
20 keyword whole enum yellow
21 keyword whole extern yellow
22 keyword whole float yellow
23 keyword whole for yellow
24 keyword whole goto yellow
25 keyword whole if yellow
26 keyword whole int yellow
27 keyword whole long yellow
28 keyword whole register yellow
29 keyword whole return yellow
30 keyword whole short yellow
31 keyword whole signed yellow
32 keyword whole sizeof yellow
33 keyword whole static yellow
34 keyword whole struct yellow
35 keyword whole switch yellow
36 keyword whole typedef yellow
37 keyword whole union yellow
38 keyword whole unsigned yellow
39 keyword whole void yellow
40 keyword whole volatile yellow
41 keyword whole while yellow
42 keyword whole asm yellow
43 keyword whole catch yellow
44 keyword whole class yellow
45 keyword whole friend yellow
46 keyword whole delete yellow
47 keyword whole inline yellow
48 keyword whole new yellow
49 keyword whole operator yellow
50 keyword whole private yellow
51 keyword whole protected yellow
52 keyword whole public yellow
53 keyword whole this yellow
54 keyword whole throw yellow
55 keyword whole template yellow
56 keyword whole try yellow
57 keyword whole virtual yellow
58 keyword whole bool yellow
59 keyword whole const_cast yellow
60 keyword whole dynamic_cast yellow
61 keyword whole explicit yellow
62 keyword whole false yellow
63 keyword whole mutable yellow
64 keyword whole namespace yellow
65 keyword whole reinterpret_cast yellow
66 keyword whole static_cast yellow
67 keyword whole true yellow
68 keyword whole typeid yellow
69 keyword whole typename yellow
70 keyword whole using yellow
71 keyword whole wchar_t yellow
72 keyword whole ... yellow
73 keyword whole linestart \{\s\t\}\[\s\t\]#*\n brightmagenta
75 # Function type qualifiers
76 keyword whole __device__ white
77 keyword whole __global__ white
78 keyword whole __host__ white
80 keyword whole __noinline__ white
81 keyword whole __forceinline__ white
83 # Variable type qualifiers
84 keyword whole __constant__ white
85 keyword whole __shared__ white
86 keyword whole __managed__ white
87 keyword whole __restrict__ white
90 keyword whole threadIdx white
91 keyword whole blockIdx white
92 keyword whole blockDim white
93 keyword whole gridDim white
94 keyword whole warpSize white
97 keyword whole __syncthreads white
98 keyword whole __threadfence white
104 keyword '\\\{"abtnvfr\}' brightgreen
105 keyword '\\\{0123\}\{01234567\}\{01234567\}' brightgreen
106 keyword '\\'' brightgreen
107 keyword '\\\\' brightgreen
108 keyword '\\0' brightgreen
109 keyword '\{\s!"#$%&()\*\+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ\}' brightgreen
130 keyword ; brightmagenta
132 context exclusive /\* \*/ brown
135 context exclusive // \n brown
138 context linestart # \n brightred
140 keyword /\**\*/ brown
147 keyword \\" brightgreen
148 keyword %% brightgreen
149 keyword %\[#0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[L\]\{eEfgGoxX\} brightgreen
150 keyword %\[0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[hl\]\{diuxX\} brightgreen
151 keyword %\[hl\]n brightgreen
152 keyword %\[-\]\[0123456789\*\]\[.\]\[0123456789\*\]s brightgreen
153 keyword %[*] brightgreen
154 keyword %c brightgreen
155 keyword %p brightgreen
156 keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
157 keyword \\\\ brightgreen
158 keyword \\' brightgreen
159 keyword \\\{abtnvfr\} brightgreen