equal
deleted
inserted
replaced
|
1 %{ |
|
2 /* |
|
3 Copyright (C) 1999 Lars Knoll (knoll@mpi-hd.mpg.de) |
|
4 Copyright (C) 2002, 2003, 2004, 2005 Apple Inc. All rights reserved. |
|
5 |
|
6 This library is free software; you can redistribute it and/or |
|
7 modify it under the terms of the GNU Library General Public |
|
8 License as published by the Free Software Foundation; either |
|
9 version 2 of the License, or (at your option) any later version. |
|
10 |
|
11 This library is distributed in the hope that it will be useful, |
|
12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
14 Library General Public License for more details. |
|
15 |
|
16 You should have received a copy of the GNU Library General Public License |
|
17 along with this library; see the file COPYING.LIB. If not, write to |
|
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
|
19 Boston, MA 02110-1301, USA. |
|
20 |
|
21 ---------------------------------------------------------------------------- |
|
22 |
|
23 HTMLEntityNames.gperf: input file to generate a hash table for entities |
|
24 HTMLEntityNames.cpp: DO NOT EDIT! generated by WebCore/make-hash-tools.pl |
|
25 */ |
|
26 %} |
|
27 %struct-type |
|
28 struct Entity { |
|
29 const char *name; |
|
30 int code; |
|
31 }; |
|
32 %language=ANSI-C |
|
33 %readonly-tables |
|
34 %global-table |
|
35 %compare-strncmp |
|
36 %define lookup-function-name findEntity |
|
37 %define hash-function-name entity_hash_function |
|
38 %includes |
|
39 %enum |
|
40 %% |
|
41 AElig, 0x00c6 |
|
42 AMP, 38 |
|
43 Aacute, 0x00c1 |
|
44 Acirc, 0x00c2 |
|
45 Agrave, 0x00c0 |
|
46 Alpha, 0x0391 |
|
47 Aring, 0x00c5 |
|
48 Atilde, 0x00c3 |
|
49 Auml, 0x00c4 |
|
50 Beta, 0x0392 |
|
51 COPY, 0x00a9 |
|
52 Ccedil, 0x00c7 |
|
53 Chi, 0x03a7 |
|
54 Dagger, 0x2021 |
|
55 Delta, 0x0394 |
|
56 ETH, 0x00d0 |
|
57 Eacute, 0x00c9 |
|
58 Ecirc, 0x00ca |
|
59 Egrave, 0x00c8 |
|
60 Epsilon, 0x0395 |
|
61 Eta, 0x0397 |
|
62 Euml, 0x00cb |
|
63 GT, 62 |
|
64 Gamma, 0x0393 |
|
65 Iacute, 0x00cd |
|
66 Icirc, 0x00ce |
|
67 Igrave, 0x00cc |
|
68 Iota, 0x0399 |
|
69 Iuml, 0x00cf |
|
70 Kappa, 0x039a |
|
71 LT, 60 |
|
72 Lambda, 0x039b |
|
73 Mu, 0x039c |
|
74 Ntilde, 0x00d1 |
|
75 Nu, 0x039d |
|
76 OElig, 0x0152 |
|
77 Oacute, 0x00d3 |
|
78 Ocirc, 0x00d4 |
|
79 Ograve, 0x00d2 |
|
80 Omega, 0x03a9 |
|
81 Omicron, 0x039f |
|
82 Oslash, 0x00d8 |
|
83 Otilde, 0x00d5 |
|
84 Ouml, 0x00d6 |
|
85 Phi, 0x03a6 |
|
86 Pi, 0x03a0 |
|
87 Prime, 0x2033 |
|
88 Psi, 0x03a8 |
|
89 QUOT, 34 |
|
90 REG, 0x00ae |
|
91 Rho, 0x03a1 |
|
92 Scaron, 0x0160 |
|
93 Sigma, 0x03a3 |
|
94 THORN, 0x00de |
|
95 Tau, 0x03a4 |
|
96 Theta, 0x0398 |
|
97 Uacute, 0x00da |
|
98 Ucirc, 0x00db |
|
99 Ugrave, 0x00d9 |
|
100 Upsilon, 0x03a5 |
|
101 Uuml, 0x00dc |
|
102 Xi, 0x039e |
|
103 Yacute, 0x00dd |
|
104 Yuml, 0x0178 |
|
105 Zeta, 0x0396 |
|
106 aacute, 0x00e1 |
|
107 acirc, 0x00e2 |
|
108 acute, 0x00b4 |
|
109 aelig, 0x00e6 |
|
110 agrave, 0x00e0 |
|
111 alefsym, 0x2135 |
|
112 alpha, 0x03b1 |
|
113 amp, 38 |
|
114 and, 0x2227 |
|
115 ang, 0x2220 |
|
116 apos, 0x0027 |
|
117 aring, 0x00e5 |
|
118 asymp, 0x2248 |
|
119 atilde, 0x00e3 |
|
120 auml, 0x00e4 |
|
121 bdquo, 0x201e |
|
122 beta, 0x03b2 |
|
123 brvbar, 0x00a6 |
|
124 bull, 0x2022 |
|
125 cap, 0x2229 |
|
126 ccedil, 0x00e7 |
|
127 cedil, 0x00b8 |
|
128 cent, 0x00a2 |
|
129 chi, 0x03c7 |
|
130 circ, 0x02c6 |
|
131 clubs, 0x2663 |
|
132 cong, 0x2245 |
|
133 copy, 0x00a9 |
|
134 crarr, 0x21b5 |
|
135 cup, 0x222a |
|
136 curren, 0x00a4 |
|
137 dArr, 0x21d3 |
|
138 dagger, 0x2020 |
|
139 darr, 0x2193 |
|
140 deg, 0x00b0 |
|
141 delta, 0x03b4 |
|
142 diams, 0x2666 |
|
143 divide, 0x00f7 |
|
144 eacute, 0x00e9 |
|
145 ecirc, 0x00ea |
|
146 egrave, 0x00e8 |
|
147 empty, 0x2205 |
|
148 emsp, 0x2003 |
|
149 ensp, 0x2002 |
|
150 epsilon, 0x03b5 |
|
151 equiv, 0x2261 |
|
152 eta, 0x03b7 |
|
153 eth, 0x00f0 |
|
154 euml, 0x00eb |
|
155 euro, 0x20ac |
|
156 exist, 0x2203 |
|
157 fnof, 0x0192 |
|
158 forall, 0x2200 |
|
159 frac12, 0x00bd |
|
160 frac14, 0x00bc |
|
161 frac34, 0x00be |
|
162 frasl, 0x2044 |
|
163 gamma, 0x03b3 |
|
164 ge, 0x2265 |
|
165 gt, 62 |
|
166 hArr, 0x21d4 |
|
167 harr, 0x2194 |
|
168 hearts, 0x2665 |
|
169 hellip, 0x2026 |
|
170 iacute, 0x00ed |
|
171 icirc, 0x00ee |
|
172 iexcl, 0x00a1 |
|
173 igrave, 0x00ec |
|
174 image, 0x2111 |
|
175 infin, 0x221e |
|
176 int, 0x222b |
|
177 iota, 0x03b9 |
|
178 iquest, 0x00bf |
|
179 isin, 0x2208 |
|
180 iuml, 0x00ef |
|
181 kappa, 0x03ba |
|
182 lArr, 0x21d0 |
|
183 lambda, 0x03bb |
|
184 lang, 0x3008 |
|
185 laquo, 0x00ab |
|
186 larr, 0x2190 |
|
187 lceil, 0x2308 |
|
188 ldquo, 0x201c |
|
189 le, 0x2264 |
|
190 lfloor, 0x230a |
|
191 lowast, 0x2217 |
|
192 loz, 0x25ca |
|
193 lrm, 0x200e |
|
194 lsaquo, 0x2039 |
|
195 lsquo, 0x2018 |
|
196 lt, 60 |
|
197 macr, 0x00af |
|
198 mdash, 0x2014 |
|
199 micro, 0x00b5 |
|
200 middot, 0x00b7 |
|
201 minus, 0x2212 |
|
202 mu, 0x03bc |
|
203 nabla, 0x2207 |
|
204 nbsp, 0x00a0 |
|
205 ndash, 0x2013 |
|
206 ne, 0x2260 |
|
207 ni, 0x220b |
|
208 not, 0x00ac |
|
209 notin, 0x2209 |
|
210 nsub, 0x2284 |
|
211 nsup, 0x2285 |
|
212 ntilde, 0x00f1 |
|
213 nu, 0x03bd |
|
214 oacute, 0x00f3 |
|
215 ocirc, 0x00f4 |
|
216 oelig, 0x0153 |
|
217 ograve, 0x00f2 |
|
218 oline, 0x203e |
|
219 omega, 0x03c9 |
|
220 omicron, 0x03bf |
|
221 oplus, 0x2295 |
|
222 or, 0x2228 |
|
223 ordf, 0x00aa |
|
224 ordm, 0x00ba |
|
225 oslash, 0x00f8 |
|
226 otilde, 0x00f5 |
|
227 otimes, 0x2297 |
|
228 ouml, 0x00f6 |
|
229 para, 0x00b6 |
|
230 part, 0x2202 |
|
231 percnt, 0x0025 |
|
232 permil, 0x2030 |
|
233 perp, 0x22a5 |
|
234 phi, 0x03c6 |
|
235 pi, 0x03c0 |
|
236 piv, 0x03d6 |
|
237 plusmn, 0x00b1 |
|
238 pound, 0x00a3 |
|
239 prime, 0x2032 |
|
240 prod, 0x220f |
|
241 prop, 0x221d |
|
242 psi, 0x03c8 |
|
243 quot, 34 |
|
244 rArr, 0x21d2 |
|
245 radic, 0x221a |
|
246 rang, 0x3009 |
|
247 raquo, 0x00bb |
|
248 rarr, 0x2192 |
|
249 rceil, 0x2309 |
|
250 rdquo, 0x201d |
|
251 real, 0x211c |
|
252 reg, 0x00ae |
|
253 rfloor, 0x230b |
|
254 rho, 0x03c1 |
|
255 rlm, 0x200f |
|
256 rsaquo, 0x203a |
|
257 rsquo, 0x2019 |
|
258 sbquo, 0x201a |
|
259 scaron, 0x0161 |
|
260 sdot, 0x22c5 |
|
261 sect, 0x00a7 |
|
262 shy, 0x00ad |
|
263 sigma, 0x03c3 |
|
264 sigmaf, 0x03c2 |
|
265 sim, 0x223c |
|
266 spades, 0x2660 |
|
267 sub, 0x2282 |
|
268 sube, 0x2286 |
|
269 sum, 0x2211 |
|
270 sup, 0x2283 |
|
271 sup1, 0x00b9 |
|
272 sup2, 0x00b2 |
|
273 sup3, 0x00b3 |
|
274 supe, 0x2287 |
|
275 supl, 0x00b9 |
|
276 szlig, 0x00df |
|
277 tau, 0x03c4 |
|
278 there4, 0x2234 |
|
279 theta, 0x03b8 |
|
280 thetasym, 0x03d1 |
|
281 thinsp, 0x2009 |
|
282 thorn, 0x00fe |
|
283 tilde, 0x02dc |
|
284 times, 0x00d7 |
|
285 trade, 0x2122 |
|
286 uArr, 0x21d1 |
|
287 uacute, 0x00fa |
|
288 uarr, 0x2191 |
|
289 ucirc, 0x00fb |
|
290 ugrave, 0x00f9 |
|
291 uml, 0x00a8 |
|
292 upsih, 0x03d2 |
|
293 upsilon, 0x03c5 |
|
294 uuml, 0x00fc |
|
295 weierp, 0x2118 |
|
296 xi, 0x03be |
|
297 yacute, 0x00fd |
|
298 yen, 0x00a5 |
|
299 yuml, 0x00ff |
|
300 zeta, 0x03b6 |
|
301 zwj, 0x200d |
|
302 zwnj, 0x200c |
|
303 %% |