1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | Syntax highlighting definition for C
|
---|
4 |
|
---|
5 | xslthl - XSLT Syntax Highlighting
|
---|
6 | http://sourceforge.net/projects/xslthl/
|
---|
7 | Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks
|
---|
8 |
|
---|
9 | This software is provided 'as-is', without any express or implied
|
---|
10 | warranty. In no event will the authors be held liable for any damages
|
---|
11 | arising from the use of this software.
|
---|
12 |
|
---|
13 | Permission is granted to anyone to use this software for any purpose,
|
---|
14 | including commercial applications, and to alter it and redistribute it
|
---|
15 | freely, subject to the following restrictions:
|
---|
16 |
|
---|
17 | 1. The origin of this software must not be misrepresented; you must not
|
---|
18 | claim that you wrote the original software. If you use this software
|
---|
19 | in a product, an acknowledgment in the product documentation would be
|
---|
20 | appreciated but is not required.
|
---|
21 | 2. Altered source versions must be plainly marked as such, and must not be
|
---|
22 | misrepresented as being the original software.
|
---|
23 | 3. This notice may not be removed or altered from any source distribution.
|
---|
24 |
|
---|
25 | Michal Molhanec <mol1111 at users.sourceforge.net>
|
---|
26 | Jirka Kosek <kosek at users.sourceforge.net>
|
---|
27 | Michiel Hendriks <elmuerte at users.sourceforge.net>
|
---|
28 | -->
|
---|
29 | <highlighters>
|
---|
30 | <highlighter type="multiline-comment">
|
---|
31 | <start>/**</start>
|
---|
32 | <end>*/</end>
|
---|
33 | <style>doccomment</style>
|
---|
34 | </highlighter>
|
---|
35 | <highlighter type="oneline-comment">
|
---|
36 | <start><![CDATA[/// ]]></start>
|
---|
37 | <style>doccomment</style>
|
---|
38 | </highlighter>
|
---|
39 | <highlighter type="multiline-comment">
|
---|
40 | <start>/*</start>
|
---|
41 | <end>*/</end>
|
---|
42 | </highlighter>
|
---|
43 | <highlighter type="oneline-comment">//</highlighter>
|
---|
44 | <highlighter type="oneline-comment">
|
---|
45 | <!-- use the online-comment highlighter to detect directives -->
|
---|
46 | <start>#</start>
|
---|
47 | <lineBreakEscape>\</lineBreakEscape>
|
---|
48 | <style>directive</style>
|
---|
49 | <solitary />
|
---|
50 | </highlighter>
|
---|
51 | <highlighter type="string">
|
---|
52 | <string>"</string>
|
---|
53 | <escape>\</escape>
|
---|
54 | </highlighter>
|
---|
55 | <highlighter type="string">
|
---|
56 | <string>'</string>
|
---|
57 | <escape>\</escape>
|
---|
58 | </highlighter>
|
---|
59 | <highlighter type="hexnumber">
|
---|
60 | <prefix>0x</prefix>
|
---|
61 | <suffix>ul</suffix>
|
---|
62 | <suffix>lu</suffix>
|
---|
63 | <suffix>u</suffix>
|
---|
64 | <suffix>l</suffix>
|
---|
65 | <ignoreCase />
|
---|
66 | </highlighter>
|
---|
67 | <highlighter type="number">
|
---|
68 | <point>.</point>
|
---|
69 | <pointStarts />
|
---|
70 | <exponent>e</exponent>
|
---|
71 | <suffix>ul</suffix>
|
---|
72 | <suffix>lu</suffix>
|
---|
73 | <suffix>u</suffix>
|
---|
74 | <suffix>f</suffix>
|
---|
75 | <suffix>l</suffix>
|
---|
76 | <ignoreCase />
|
---|
77 | </highlighter>
|
---|
78 | <highlighter type="keywords">
|
---|
79 | <keyword>auto</keyword>
|
---|
80 | <keyword>_Bool</keyword>
|
---|
81 | <keyword>break</keyword>
|
---|
82 | <keyword>case</keyword>
|
---|
83 | <keyword>char</keyword>
|
---|
84 | <keyword>_Complex</keyword>
|
---|
85 | <keyword>const</keyword>
|
---|
86 | <keyword>continue</keyword>
|
---|
87 | <keyword>default</keyword>
|
---|
88 | <keyword>do</keyword>
|
---|
89 | <keyword>double</keyword>
|
---|
90 | <keyword>else</keyword>
|
---|
91 | <keyword>enum</keyword>
|
---|
92 | <keyword>extern</keyword>
|
---|
93 | <keyword>float</keyword>
|
---|
94 | <keyword>for</keyword>
|
---|
95 | <keyword>goto</keyword>
|
---|
96 | <keyword>if</keyword>
|
---|
97 | <keyword>_Imaginary</keyword>
|
---|
98 | <keyword>inline</keyword>
|
---|
99 | <keyword>int</keyword>
|
---|
100 | <keyword>long</keyword>
|
---|
101 | <keyword>register</keyword>
|
---|
102 | <keyword>restrict</keyword>
|
---|
103 | <keyword>return</keyword>
|
---|
104 | <keyword>short</keyword>
|
---|
105 | <keyword>signed</keyword>
|
---|
106 | <keyword>sizeof</keyword>
|
---|
107 | <keyword>static</keyword>
|
---|
108 | <keyword>struct</keyword>
|
---|
109 | <keyword>switch</keyword>
|
---|
110 | <keyword>typedef</keyword>
|
---|
111 | <keyword>union</keyword>
|
---|
112 | <keyword>unsigned</keyword>
|
---|
113 | <keyword>void</keyword>
|
---|
114 | <keyword>volatile</keyword>
|
---|
115 | <keyword>while</keyword>
|
---|
116 | </highlighter>
|
---|
117 | </highlighters> |
---|