Debian Codegraph @

docs/xsl-generic/highlighting/c-hl.xml

raw
1 <?xml version='1.0'?>
2 <highlighters>
3
4 <highlighter type='multiline-comment'>
5 <start>/*</start>
6 <end>*/</end>
7 </highlighter>
8
9 <highlighter type='oneline-comment'>
10 //
11 </highlighter>
12
13 <highlighter type='oneline-comment'>
14 #
15 </highlighter>
16
17 <highlighter type='string'>
18 <string>"</string>
19 <escape>\</escape>
20 </highlighter>
21
22 <highlighter type='string'>
23 <string>'</string>
24 <escape>\</escape>
25 </highlighter>
26
27 <highlighter type='heredoc'>
28 <start>&lt;&lt;&lt;</start>
29 </highlighter>
30
31 <highlighter type='keywords'>
32 <keyword>and</keyword>
33 <keyword>auto</keyword>
34 <keyword>break</keyword>
35 <keyword>case</keyword>
36 <keyword>char</keyword>
37 <keyword>class</keyword>
38 <keyword>__CLASS__</keyword>
39 <keyword>const</keyword>
40 <keyword>continue</keyword>
41 <keyword>declare</keyword>
42 <keyword>default</keyword>
43 <keyword>do</keyword>
44 <keyword>double</keyword>
45 <keyword>else</keyword>
46 <keyword>enum</keyword>
47 <keyword>exit</keyword>
48 <keyword>extern</keyword>
49 <keyword>__FILE__</keyword>
50 <keyword>float</keyword>
51 <keyword>for</keyword>
52 <keyword>global</keyword>
53 <keyword>goto</keyword>
54 <keyword>if</keyword>
55 <keyword>include</keyword>
56 <keyword>int</keyword>
57 <keyword>__LINE__</keyword>
58 <keyword>long</keyword>
59 <keyword>new</keyword>
60 <keyword>or</keyword>
61 <keyword>private</keyword>
62 <keyword>protected</keyword>
63 <keyword>public</keyword>
64 <keyword>register</keyword>
65 <keyword>return</keyword>
66 <keyword>short</keyword>
67 <keyword>signed</keyword>
68 <keyword>sizeof</keyword>
69 <keyword>static</keyword>
70 <keyword>struct</keyword>
71 <keyword>switch</keyword>
72 <keyword>typedef</keyword>
73 <keyword>union</keyword>
74 <keyword>unsigned</keyword>
75 <keyword>void</keyword>
76 <keyword>volatile</keyword>
77 <keyword>while</keyword>
78 <ignoreCase/>
79 </highlighter>
80
81 </highlighters>
82 <!--
83
84 Copyright (c) 2005 Michal Molhanec
85
86 This software is provided 'as-is', without any express or implied
87 warranty. In no event will the authors be held liable for any damages
88 arising from the use of this software.
89
90 Permission is granted to anyone to use this software for any purpose,
91 including commercial applications, and to alter it and redistribute it
92 freely, subject to the following restrictions:
93
94 1. The origin of this software must not be misrepresented; you must
95 not claim that you wrote the original software. If you use this
96 software in a product, an acknowledgment in the product
97 documentation would be appreciated but is not required.
98
99 2. Altered source versions must be plainly marked as such, and must
100 not be misrepresented as being the original software.
101
102 3. This notice may not be removed or altered from any source
103 distribution.
104
105 -->