… | |
… | |
230 | unaggressive |
230 | unaggressive |
231 | undead |
231 | undead |
232 | unique |
232 | unique |
233 | unpaid |
233 | unpaid |
234 | use_content_on_gen |
234 | use_content_on_gen |
|
|
235 | uuid |
235 | value |
236 | value |
236 | vulnerable |
237 | vulnerable |
237 | was_wiz |
238 | was_wiz |
238 | wc |
239 | wc |
239 | weapontype |
240 | weapontype |
… | |
… | |
242 | wis |
243 | wis |
243 | wiz |
244 | wiz |
244 | x |
245 | x |
245 | xrays |
246 | xrays |
246 | y |
247 | y |
|
|
248 | |
|
|
249 | Object |
|
|
250 | Str |
|
|
251 | Dex |
|
|
252 | Con |
|
|
253 | Wis |
|
|
254 | Cha |
|
|
255 | Int |
|
|
256 | Pow |
|
|
257 | More |
247 | ); |
258 | ); |
248 | |
259 | |
249 | open GPERF, "|-", "gperf -m50 >kw_hash.h" |
260 | open GPERF, "|-", "gperf -m50 >kw_hash.h" |
250 | or die "gperf: $!"; |
261 | or die "gperf: $!"; |
251 | |
262 | |
… | |
… | |
254 | %enum |
265 | %enum |
255 | %define class-name kw_lex |
266 | %define class-name kw_lex |
256 | %define lookup-function-name match |
267 | %define lookup-function-name match |
257 | %struct-type |
268 | %struct-type |
258 | %compare-strncmp |
269 | %compare-strncmp |
259 | %ignore-case |
|
|
260 | %delimiters=, |
270 | %delimiters=, |
261 | struct keyword_idx { const char *name; enum keyword index; }; |
271 | struct keyword_idx { const char *name; enum keyword index; }; |
262 | %% |
272 | %% |
263 | EOF |
273 | EOF |
264 | |
274 | |