source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/highlighting/c-hl.xml@ c158fe6

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since c158fe6 was b1a51ac1, checked in by Krejzi <krejzi@…>, 11 years ago

Import new branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3Syntax highlighting definition for C
4
5xslthl - XSLT Syntax Highlighting
6http://sourceforge.net/projects/xslthl/
7Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks
8
9This software is provided 'as-is', without any express or implied
10warranty. In no event will the authors be held liable for any damages
11arising from the use of this software.
12
13Permission is granted to anyone to use this software for any purpose,
14including commercial applications, and to alter it and redistribute it
15freely, subject to the following restrictions:
16
171. 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.
212. Altered source versions must be plainly marked as such, and must not be
22 misrepresented as being the original software.
233. This notice may not be removed or altered from any source distribution.
24
25Michal Molhanec <mol1111 at users.sourceforge.net>
26Jirka Kosek <kosek at users.sourceforge.net>
27Michiel 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>
Note: See TracBrowser for help on using the repository browser.