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