| 1 | /* ANSI-C code produced by gperf version 3.1 */ | 
|---|
| 2 | /* Command-line: gperf -acCgopt -k'1,2,5,9,$' -L ANSI-C -N locfile_hash locfile-kw.gperf  */ | 
|---|
| 3 |  | 
|---|
| 4 | #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ | 
|---|
| 5 | && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ | 
|---|
| 6 | && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ | 
|---|
| 7 | && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ | 
|---|
| 8 | && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ | 
|---|
| 9 | && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ | 
|---|
| 10 | && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ | 
|---|
| 11 | && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ | 
|---|
| 12 | && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ | 
|---|
| 13 | && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ | 
|---|
| 14 | && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ | 
|---|
| 15 | && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ | 
|---|
| 16 | && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ | 
|---|
| 17 | && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ | 
|---|
| 18 | && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ | 
|---|
| 19 | && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ | 
|---|
| 20 | && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ | 
|---|
| 21 | && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ | 
|---|
| 22 | && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ | 
|---|
| 23 | && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ | 
|---|
| 24 | && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ | 
|---|
| 25 | && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ | 
|---|
| 26 | && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) | 
|---|
| 27 | /* The character set is not based on ISO-646.  */ | 
|---|
| 28 | #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gperf@gnu.org>." | 
|---|
| 29 | #endif | 
|---|
| 30 |  | 
|---|
| 31 | #line 1 "locfile-kw.gperf" | 
|---|
| 32 |  | 
|---|
| 33 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 
|---|
| 34 | This file is part of the GNU C Library. | 
|---|
| 35 | Contributed by Ulrich Drepper <drepper@gnu.org>, 1996. | 
|---|
| 36 |  | 
|---|
| 37 | This program is free software; you can redistribute it and/or modify | 
|---|
| 38 | it under the terms of the GNU General Public License as published | 
|---|
| 39 | by the Free Software Foundation; version 2 of the License, or | 
|---|
| 40 | (at your option) any later version. | 
|---|
| 41 |  | 
|---|
| 42 | This program is distributed in the hope that it will be useful, | 
|---|
| 43 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 44 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 45 | GNU General Public License for more details. | 
|---|
| 46 |  | 
|---|
| 47 | You should have received a copy of the GNU General Public License | 
|---|
| 48 | along with this program; if not, see | 
|---|
| 49 | <https://www.gnu.org/licenses/>.  */ | 
|---|
| 50 |  | 
|---|
| 51 | #include <string.h> | 
|---|
| 52 |  | 
|---|
| 53 | #include "locfile-token.h" | 
|---|
| 54 | #line 24 "locfile-kw.gperf" | 
|---|
| 55 | struct keyword_t ; | 
|---|
| 56 |  | 
|---|
| 57 | #define TOTAL_KEYWORDS 178 | 
|---|
| 58 | #define MIN_WORD_LENGTH 3 | 
|---|
| 59 | #define MAX_WORD_LENGTH 22 | 
|---|
| 60 | #define MIN_HASH_VALUE 3 | 
|---|
| 61 | #define MAX_HASH_VALUE 630 | 
|---|
| 62 | /* maximum key range = 628, duplicates = 0 */ | 
|---|
| 63 |  | 
|---|
| 64 | #ifdef __GNUC__ | 
|---|
| 65 | __inline | 
|---|
| 66 | #else | 
|---|
| 67 | #ifdef __cplusplus | 
|---|
| 68 | inline | 
|---|
| 69 | #endif | 
|---|
| 70 | #endif | 
|---|
| 71 | static unsigned int | 
|---|
| 72 | hash (register const char *str, register size_t len) | 
|---|
| 73 | { | 
|---|
| 74 | static const unsigned short asso_values[] = | 
|---|
| 75 | { | 
|---|
| 76 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 77 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 78 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 79 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 80 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 81 | 5,   0, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 82 | 631, 631, 631, 631, 631,   5, 631,   0,   0,   0, | 
|---|
| 83 | 0,   0,  10,   0, 631, 631,   0, 631,   0,   5, | 
|---|
| 84 | 631, 631,   0,   0,   0,  10, 631, 631, 631,   0, | 
|---|
| 85 | 631, 631, 631, 631, 631,   0, 631, 145,  80,  25, | 
|---|
| 86 | 15,   0, 180, 105,  10,  35, 631,  50,  80, 160, | 
|---|
| 87 | 5, 130,  40,  45,   5,   0,  10,  35,  40,  35, | 
|---|
| 88 | 5,  10,   0, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 89 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 90 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 91 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 92 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 93 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 94 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 95 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 96 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 97 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 98 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 99 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 100 | 631, 631, 631, 631, 631, 631, 631, 631, 631, 631, | 
|---|
| 101 | 631, 631, 631, 631, 631, 631 | 
|---|
| 102 | }; | 
|---|
| 103 | register unsigned int hval = len; | 
|---|
| 104 |  | 
|---|
| 105 | switch (hval) | 
|---|
| 106 | { | 
|---|
| 107 | default: | 
|---|
| 108 | hval += asso_values[(unsigned char)str[8]]; | 
|---|
| 109 | /*FALLTHROUGH*/ | 
|---|
| 110 | case 8: | 
|---|
| 111 | case 7: | 
|---|
| 112 | case 6: | 
|---|
| 113 | case 5: | 
|---|
| 114 | hval += asso_values[(unsigned char)str[4]]; | 
|---|
| 115 | /*FALLTHROUGH*/ | 
|---|
| 116 | case 4: | 
|---|
| 117 | case 3: | 
|---|
| 118 | case 2: | 
|---|
| 119 | hval += asso_values[(unsigned char)str[1]]; | 
|---|
| 120 | /*FALLTHROUGH*/ | 
|---|
| 121 | case 1: | 
|---|
| 122 | hval += asso_values[(unsigned char)str[0]]; | 
|---|
| 123 | break; | 
|---|
| 124 | } | 
|---|
| 125 | return hval + asso_values[(unsigned char)str[len - 1]]; | 
|---|
| 126 | } | 
|---|
| 127 |  | 
|---|
| 128 | const struct keyword_t * | 
|---|
| 129 | locfile_hash (register const char *str, register size_t len) | 
|---|
| 130 | { | 
|---|
| 131 | static const struct keyword_t wordlist[] = | 
|---|
| 132 | { | 
|---|
| 133 | { ""}, { ""}, { ""}, | 
|---|
| 134 | #line 31 "locfile-kw.gperf" | 
|---|
| 135 | { "END",                    tok_end,                    0}, | 
|---|
| 136 | { ""}, { ""}, | 
|---|
| 137 | #line 70 "locfile-kw.gperf" | 
|---|
| 138 | { "IGNORE",                 tok_ignore,                 0}, | 
|---|
| 139 | #line 129 "locfile-kw.gperf" | 
|---|
| 140 | { "LC_TIME",                tok_lc_time,                0}, | 
|---|
| 141 | #line 30 "locfile-kw.gperf" | 
|---|
| 142 | { "LC_CTYPE",               tok_lc_ctype,               0}, | 
|---|
| 143 | { ""}, | 
|---|
| 144 | #line 168 "locfile-kw.gperf" | 
|---|
| 145 | { "LC_ADDRESS",             tok_lc_address,             0}, | 
|---|
| 146 | #line 153 "locfile-kw.gperf" | 
|---|
| 147 | { "LC_MESSAGES",            tok_lc_messages,            0}, | 
|---|
| 148 | #line 161 "locfile-kw.gperf" | 
|---|
| 149 | { "LC_NAME",                tok_lc_name,                0}, | 
|---|
| 150 | #line 158 "locfile-kw.gperf" | 
|---|
| 151 | { "LC_PAPER",               tok_lc_paper,               0}, | 
|---|
| 152 | #line 186 "locfile-kw.gperf" | 
|---|
| 153 | { "LC_MEASUREMENT",         tok_lc_measurement,         0}, | 
|---|
| 154 | #line 56 "locfile-kw.gperf" | 
|---|
| 155 | { "LC_COLLATE",             tok_lc_collate,             0}, | 
|---|
| 156 | { ""}, | 
|---|
| 157 | #line 188 "locfile-kw.gperf" | 
|---|
| 158 | { "LC_IDENTIFICATION",      tok_lc_identification,      0}, | 
|---|
| 159 | #line 201 "locfile-kw.gperf" | 
|---|
| 160 | { "revision",               tok_revision,               0}, | 
|---|
| 161 | #line 69 "locfile-kw.gperf" | 
|---|
| 162 | { "UNDEFINED",              tok_undefined,              0}, | 
|---|
| 163 | #line 125 "locfile-kw.gperf" | 
|---|
| 164 | { "LC_NUMERIC",             tok_lc_numeric,             0}, | 
|---|
| 165 | #line 82 "locfile-kw.gperf" | 
|---|
| 166 | { "LC_MONETARY",            tok_lc_monetary,            0}, | 
|---|
| 167 | #line 181 "locfile-kw.gperf" | 
|---|
| 168 | { "LC_TELEPHONE",           tok_lc_telephone,           0}, | 
|---|
| 169 | { ""}, { ""}, { ""}, | 
|---|
| 170 | #line 75 "locfile-kw.gperf" | 
|---|
| 171 | { "define",                 tok_define,                 0}, | 
|---|
| 172 | #line 154 "locfile-kw.gperf" | 
|---|
| 173 | { "yesexpr",                tok_yesexpr,                0}, | 
|---|
| 174 | #line 141 "locfile-kw.gperf" | 
|---|
| 175 | { "era_year",               tok_era_year,               0}, | 
|---|
| 176 | { ""}, | 
|---|
| 177 | #line 54 "locfile-kw.gperf" | 
|---|
| 178 | { "translit_ignore",        tok_translit_ignore,        0}, | 
|---|
| 179 | #line 156 "locfile-kw.gperf" | 
|---|
| 180 | { "yesstr",                 tok_yesstr,                 0}, | 
|---|
| 181 | { ""}, | 
|---|
| 182 | #line 89 "locfile-kw.gperf" | 
|---|
| 183 | { "negative_sign",          tok_negative_sign,          0}, | 
|---|
| 184 | { ""}, | 
|---|
| 185 | #line 137 "locfile-kw.gperf" | 
|---|
| 186 | { "t_fmt",                  tok_t_fmt,                  0}, | 
|---|
| 187 | #line 159 "locfile-kw.gperf" | 
|---|
| 188 | { "height",                 tok_height,                 0}, | 
|---|
| 189 | { ""}, { ""}, | 
|---|
| 190 | #line 52 "locfile-kw.gperf" | 
|---|
| 191 | { "translit_start",         tok_translit_start,         0}, | 
|---|
| 192 | #line 136 "locfile-kw.gperf" | 
|---|
| 193 | { "d_fmt",                  tok_d_fmt,                  0}, | 
|---|
| 194 | { ""}, | 
|---|
| 195 | #line 53 "locfile-kw.gperf" | 
|---|
| 196 | { "translit_end",           tok_translit_end,           0}, | 
|---|
| 197 | #line 94 "locfile-kw.gperf" | 
|---|
| 198 | { "n_cs_precedes",          tok_n_cs_precedes,          0}, | 
|---|
| 199 | #line 144 "locfile-kw.gperf" | 
|---|
| 200 | { "era_t_fmt",              tok_era_t_fmt,              0}, | 
|---|
| 201 | #line 39 "locfile-kw.gperf" | 
|---|
| 202 | { "space",                  tok_space,                  0}, | 
|---|
| 203 | #line 72 "locfile-kw.gperf" | 
|---|
| 204 | { "reorder-end",            tok_reorder_end,            0}, | 
|---|
| 205 | #line 73 "locfile-kw.gperf" | 
|---|
| 206 | { "reorder-sections-after", tok_reorder_sections_after, 0}, | 
|---|
| 207 | { ""}, | 
|---|
| 208 | #line 142 "locfile-kw.gperf" | 
|---|
| 209 | { "era_d_fmt",              tok_era_d_fmt,              0}, | 
|---|
| 210 | #line 189 "locfile-kw.gperf" | 
|---|
| 211 | { "title",                  tok_title,                  0}, | 
|---|
| 212 | { ""}, { ""}, | 
|---|
| 213 | #line 149 "locfile-kw.gperf" | 
|---|
| 214 | { "timezone",               tok_timezone,               0}, | 
|---|
| 215 | { ""}, | 
|---|
| 216 | #line 74 "locfile-kw.gperf" | 
|---|
| 217 | { "reorder-sections-end",   tok_reorder_sections_end,   0}, | 
|---|
| 218 | { ""}, { ""}, { ""}, | 
|---|
| 219 | #line 95 "locfile-kw.gperf" | 
|---|
| 220 | { "n_sep_by_space",         tok_n_sep_by_space,         0}, | 
|---|
| 221 | { ""}, { ""}, | 
|---|
| 222 | #line 100 "locfile-kw.gperf" | 
|---|
| 223 | { "int_n_cs_precedes",      tok_int_n_cs_precedes,      0}, | 
|---|
| 224 | { ""}, { ""}, { ""}, | 
|---|
| 225 | #line 26 "locfile-kw.gperf" | 
|---|
| 226 | { "escape_char",            tok_escape_char,            0}, | 
|---|
| 227 | { ""}, | 
|---|
| 228 | #line 28 "locfile-kw.gperf" | 
|---|
| 229 | { "repertoiremap",          tok_repertoiremap,          0}, | 
|---|
| 230 | #line 46 "locfile-kw.gperf" | 
|---|
| 231 | { "charclass",              tok_charclass,              0}, | 
|---|
| 232 | #line 43 "locfile-kw.gperf" | 
|---|
| 233 | { "print",                  tok_print,                  0}, | 
|---|
| 234 | #line 44 "locfile-kw.gperf" | 
|---|
| 235 | { "xdigit",                 tok_xdigit,                 0}, | 
|---|
| 236 | #line 110 "locfile-kw.gperf" | 
|---|
| 237 | { "duo_n_cs_precedes",      tok_duo_n_cs_precedes,      0}, | 
|---|
| 238 | #line 127 "locfile-kw.gperf" | 
|---|
| 239 | { "thousands_sep",          tok_thousands_sep,          0}, | 
|---|
| 240 | #line 197 "locfile-kw.gperf" | 
|---|
| 241 | { "territory",              tok_territory,              0}, | 
|---|
| 242 | #line 36 "locfile-kw.gperf" | 
|---|
| 243 | { "digit",                  tok_digit,                  0}, | 
|---|
| 244 | { ""}, { ""}, | 
|---|
| 245 | #line 92 "locfile-kw.gperf" | 
|---|
| 246 | { "p_cs_precedes",          tok_p_cs_precedes,          0}, | 
|---|
| 247 | { ""}, { ""}, | 
|---|
| 248 | #line 62 "locfile-kw.gperf" | 
|---|
| 249 | { "script",                 tok_script,                 0}, | 
|---|
| 250 | #line 29 "locfile-kw.gperf" | 
|---|
| 251 | { "include",                tok_include,                0}, | 
|---|
| 252 | { ""}, | 
|---|
| 253 | #line 78 "locfile-kw.gperf" | 
|---|
| 254 | { "else",                   tok_else,                   0}, | 
|---|
| 255 | #line 184 "locfile-kw.gperf" | 
|---|
| 256 | { "int_select",             tok_int_select,             0}, | 
|---|
| 257 | { ""}, { ""}, { ""}, | 
|---|
| 258 | #line 132 "locfile-kw.gperf" | 
|---|
| 259 | { "week",                   tok_week,                   0}, | 
|---|
| 260 | #line 33 "locfile-kw.gperf" | 
|---|
| 261 | { "upper",                  tok_upper,                  0}, | 
|---|
| 262 | { ""}, { ""}, | 
|---|
| 263 | #line 194 "locfile-kw.gperf" | 
|---|
| 264 | { "tel",                    tok_tel,                    0}, | 
|---|
| 265 | #line 93 "locfile-kw.gperf" | 
|---|
| 266 | { "p_sep_by_space",         tok_p_sep_by_space,         0}, | 
|---|
| 267 | #line 160 "locfile-kw.gperf" | 
|---|
| 268 | { "width",                  tok_width,                  0}, | 
|---|
| 269 | { ""}, | 
|---|
| 270 | #line 98 "locfile-kw.gperf" | 
|---|
| 271 | { "int_p_cs_precedes",      tok_int_p_cs_precedes,      0}, | 
|---|
| 272 | { ""}, { ""}, | 
|---|
| 273 | #line 41 "locfile-kw.gperf" | 
|---|
| 274 | { "punct",                  tok_punct,                  0}, | 
|---|
| 275 | { ""}, { ""}, | 
|---|
| 276 | #line 101 "locfile-kw.gperf" | 
|---|
| 277 | { "int_n_sep_by_space",     tok_int_n_sep_by_space,     0}, | 
|---|
| 278 | { ""}, { ""}, { ""}, | 
|---|
| 279 | #line 108 "locfile-kw.gperf" | 
|---|
| 280 | { "duo_p_cs_precedes",      tok_duo_p_cs_precedes,      0}, | 
|---|
| 281 | #line 48 "locfile-kw.gperf" | 
|---|
| 282 | { "charconv",               tok_charconv,               0}, | 
|---|
| 283 | { ""}, | 
|---|
| 284 | #line 47 "locfile-kw.gperf" | 
|---|
| 285 | { "class",                  tok_class,                  0}, | 
|---|
| 286 | #line 114 "locfile-kw.gperf" | 
|---|
| 287 | { "duo_int_n_cs_precedes",  tok_duo_int_n_cs_precedes,  0}, | 
|---|
| 288 | #line 115 "locfile-kw.gperf" | 
|---|
| 289 | { "duo_int_n_sep_by_space", tok_duo_int_n_sep_by_space, 0}, | 
|---|
| 290 | #line 111 "locfile-kw.gperf" | 
|---|
| 291 | { "duo_n_sep_by_space",     tok_duo_n_sep_by_space,     0}, | 
|---|
| 292 | #line 119 "locfile-kw.gperf" | 
|---|
| 293 | { "duo_int_n_sign_posn",    tok_duo_int_n_sign_posn,    0}, | 
|---|
| 294 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 295 | { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 296 | #line 58 "locfile-kw.gperf" | 
|---|
| 297 | { "section-symbol",         tok_section_symbol,         0}, | 
|---|
| 298 | #line 185 "locfile-kw.gperf" | 
|---|
| 299 | { "int_prefix",             tok_int_prefix,             0}, | 
|---|
| 300 | { ""}, { ""}, { ""}, { ""}, | 
|---|
| 301 | #line 42 "locfile-kw.gperf" | 
|---|
| 302 | { "graph",                  tok_graph,                  0}, | 
|---|
| 303 | { ""}, { ""}, | 
|---|
| 304 | #line 99 "locfile-kw.gperf" | 
|---|
| 305 | { "int_p_sep_by_space",     tok_int_p_sep_by_space,     0}, | 
|---|
| 306 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 307 | #line 112 "locfile-kw.gperf" | 
|---|
| 308 | { "duo_int_p_cs_precedes",  tok_duo_int_p_cs_precedes,  0}, | 
|---|
| 309 | #line 113 "locfile-kw.gperf" | 
|---|
| 310 | { "duo_int_p_sep_by_space", tok_duo_int_p_sep_by_space, 0}, | 
|---|
| 311 | #line 109 "locfile-kw.gperf" | 
|---|
| 312 | { "duo_p_sep_by_space",     tok_duo_p_sep_by_space,     0}, | 
|---|
| 313 | #line 118 "locfile-kw.gperf" | 
|---|
| 314 | { "duo_int_p_sign_posn",    tok_duo_int_p_sign_posn,    0}, | 
|---|
| 315 | #line 157 "locfile-kw.gperf" | 
|---|
| 316 | { "nostr",                  tok_nostr,                  0}, | 
|---|
| 317 | { ""}, { ""}, | 
|---|
| 318 | #line 140 "locfile-kw.gperf" | 
|---|
| 319 | { "era",                    tok_era,                    0}, | 
|---|
| 320 | { ""}, | 
|---|
| 321 | #line 84 "locfile-kw.gperf" | 
|---|
| 322 | { "currency_symbol",        tok_currency_symbol,        0}, | 
|---|
| 323 | { ""}, | 
|---|
| 324 | #line 167 "locfile-kw.gperf" | 
|---|
| 325 | { "name_ms",                tok_name_ms,                0}, | 
|---|
| 326 | #line 165 "locfile-kw.gperf" | 
|---|
| 327 | { "name_mrs",               tok_name_mrs,               0}, | 
|---|
| 328 | #line 166 "locfile-kw.gperf" | 
|---|
| 329 | { "name_miss",              tok_name_miss,              0}, | 
|---|
| 330 | #line 83 "locfile-kw.gperf" | 
|---|
| 331 | { "int_curr_symbol",        tok_int_curr_symbol,        0}, | 
|---|
| 332 | #line 190 "locfile-kw.gperf" | 
|---|
| 333 | { "source",                 tok_source,                 0}, | 
|---|
| 334 | #line 164 "locfile-kw.gperf" | 
|---|
| 335 | { "name_mr",                tok_name_mr,                0}, | 
|---|
| 336 | #line 163 "locfile-kw.gperf" | 
|---|
| 337 | { "name_gen",               tok_name_gen,               0}, | 
|---|
| 338 | #line 202 "locfile-kw.gperf" | 
|---|
| 339 | { "date",                   tok_date,                   0}, | 
|---|
| 340 | { ""}, { ""}, | 
|---|
| 341 | #line 191 "locfile-kw.gperf" | 
|---|
| 342 | { "address",                tok_address,                0}, | 
|---|
| 343 | #line 162 "locfile-kw.gperf" | 
|---|
| 344 | { "name_fmt",               tok_name_fmt,               0}, | 
|---|
| 345 | #line 32 "locfile-kw.gperf" | 
|---|
| 346 | { "copy",                   tok_copy,                   0}, | 
|---|
| 347 | #line 103 "locfile-kw.gperf" | 
|---|
| 348 | { "int_n_sign_posn",        tok_int_n_sign_posn,        0}, | 
|---|
| 349 | { ""}, { ""}, | 
|---|
| 350 | #line 131 "locfile-kw.gperf" | 
|---|
| 351 | { "day",                    tok_day,                    0}, | 
|---|
| 352 | #line 105 "locfile-kw.gperf" | 
|---|
| 353 | { "duo_currency_symbol",    tok_duo_currency_symbol,    0}, | 
|---|
| 354 | { ""}, { ""}, { ""}, | 
|---|
| 355 | #line 150 "locfile-kw.gperf" | 
|---|
| 356 | { "date_fmt",               tok_date_fmt,               0}, | 
|---|
| 357 | #line 64 "locfile-kw.gperf" | 
|---|
| 358 | { "order_end",              tok_order_end,              0}, | 
|---|
| 359 | #line 117 "locfile-kw.gperf" | 
|---|
| 360 | { "duo_n_sign_posn",        tok_duo_n_sign_posn,        0}, | 
|---|
| 361 | { ""}, | 
|---|
| 362 | #line 170 "locfile-kw.gperf" | 
|---|
| 363 | { "country_name",           tok_country_name,           0}, | 
|---|
| 364 | #line 71 "locfile-kw.gperf" | 
|---|
| 365 | { "reorder-after",          tok_reorder_after,          0}, | 
|---|
| 366 | { ""}, { ""}, | 
|---|
| 367 | #line 155 "locfile-kw.gperf" | 
|---|
| 368 | { "noexpr",                 tok_noexpr,                 0}, | 
|---|
| 369 | #line 50 "locfile-kw.gperf" | 
|---|
| 370 | { "tolower",                tok_tolower,                0}, | 
|---|
| 371 | #line 198 "locfile-kw.gperf" | 
|---|
| 372 | { "audience",               tok_audience,               0}, | 
|---|
| 373 | { ""}, { ""}, { ""}, | 
|---|
| 374 | #line 49 "locfile-kw.gperf" | 
|---|
| 375 | { "toupper",                tok_toupper,                0}, | 
|---|
| 376 | #line 68 "locfile-kw.gperf" | 
|---|
| 377 | { "position",               tok_position,               0}, | 
|---|
| 378 | { ""}, | 
|---|
| 379 | #line 40 "locfile-kw.gperf" | 
|---|
| 380 | { "cntrl",                  tok_cntrl,                  0}, | 
|---|
| 381 | { ""}, | 
|---|
| 382 | #line 27 "locfile-kw.gperf" | 
|---|
| 383 | { "comment_char",           tok_comment_char,           0}, | 
|---|
| 384 | #line 88 "locfile-kw.gperf" | 
|---|
| 385 | { "positive_sign",          tok_positive_sign,          0}, | 
|---|
| 386 | { ""}, { ""}, { ""}, { ""}, | 
|---|
| 387 | #line 61 "locfile-kw.gperf" | 
|---|
| 388 | { "symbol-equivalence",     tok_symbol_equivalence,     0}, | 
|---|
| 389 | { ""}, | 
|---|
| 390 | #line 102 "locfile-kw.gperf" | 
|---|
| 391 | { "int_p_sign_posn",        tok_int_p_sign_posn,        0}, | 
|---|
| 392 | #line 175 "locfile-kw.gperf" | 
|---|
| 393 | { "country_car",            tok_country_car,            0}, | 
|---|
| 394 | { ""}, { ""}, | 
|---|
| 395 | #line 104 "locfile-kw.gperf" | 
|---|
| 396 | { "duo_int_curr_symbol",    tok_duo_int_curr_symbol,    0}, | 
|---|
| 397 | { ""}, { ""}, | 
|---|
| 398 | #line 135 "locfile-kw.gperf" | 
|---|
| 399 | { "d_t_fmt",                tok_d_t_fmt,                0}, | 
|---|
| 400 | { ""}, { ""}, | 
|---|
| 401 | #line 116 "locfile-kw.gperf" | 
|---|
| 402 | { "duo_p_sign_posn",        tok_duo_p_sign_posn,        0}, | 
|---|
| 403 | #line 187 "locfile-kw.gperf" | 
|---|
| 404 | { "measurement",            tok_measurement,            0}, | 
|---|
| 405 | #line 176 "locfile-kw.gperf" | 
|---|
| 406 | { "country_isbn",           tok_country_isbn,           0}, | 
|---|
| 407 | #line 37 "locfile-kw.gperf" | 
|---|
| 408 | { "outdigit",               tok_outdigit,               0}, | 
|---|
| 409 | { ""}, { ""}, | 
|---|
| 410 | #line 143 "locfile-kw.gperf" | 
|---|
| 411 | { "era_d_t_fmt",            tok_era_d_t_fmt,            0}, | 
|---|
| 412 | { ""}, { ""}, { ""}, | 
|---|
| 413 | #line 34 "locfile-kw.gperf" | 
|---|
| 414 | { "lower",                  tok_lower,                  0}, | 
|---|
| 415 | #line 183 "locfile-kw.gperf" | 
|---|
| 416 | { "tel_dom_fmt",            tok_tel_dom_fmt,            0}, | 
|---|
| 417 | #line 171 "locfile-kw.gperf" | 
|---|
| 418 | { "country_post",           tok_country_post,           0}, | 
|---|
| 419 | #line 148 "locfile-kw.gperf" | 
|---|
| 420 | { "cal_direction",          tok_cal_direction,          0}, | 
|---|
| 421 | { ""}, | 
|---|
| 422 | #line 139 "locfile-kw.gperf" | 
|---|
| 423 | { "t_fmt_ampm",             tok_t_fmt_ampm,             0}, | 
|---|
| 424 | #line 91 "locfile-kw.gperf" | 
|---|
| 425 | { "frac_digits",            tok_frac_digits,            0}, | 
|---|
| 426 | { ""}, { ""}, | 
|---|
| 427 | #line 177 "locfile-kw.gperf" | 
|---|
| 428 | { "lang_name",              tok_lang_name,              0}, | 
|---|
| 429 | #line 90 "locfile-kw.gperf" | 
|---|
| 430 | { "int_frac_digits",        tok_int_frac_digits,        0}, | 
|---|
| 431 | { ""}, | 
|---|
| 432 | #line 121 "locfile-kw.gperf" | 
|---|
| 433 | { "uno_valid_to",           tok_uno_valid_to,           0}, | 
|---|
| 434 | #line 126 "locfile-kw.gperf" | 
|---|
| 435 | { "decimal_point",          tok_decimal_point,          0}, | 
|---|
| 436 | { ""}, | 
|---|
| 437 | #line 133 "locfile-kw.gperf" | 
|---|
| 438 | { "abmon",                  tok_abmon,                  0}, | 
|---|
| 439 | { ""}, { ""}, { ""}, { ""}, | 
|---|
| 440 | #line 107 "locfile-kw.gperf" | 
|---|
| 441 | { "duo_frac_digits",        tok_duo_frac_digits,        0}, | 
|---|
| 442 | #line 182 "locfile-kw.gperf" | 
|---|
| 443 | { "tel_int_fmt",            tok_tel_int_fmt,            0}, | 
|---|
| 444 | #line 123 "locfile-kw.gperf" | 
|---|
| 445 | { "duo_valid_to",           tok_duo_valid_to,           0}, | 
|---|
| 446 | #line 146 "locfile-kw.gperf" | 
|---|
| 447 | { "first_weekday",          tok_first_weekday,          0}, | 
|---|
| 448 | { ""}, | 
|---|
| 449 | #line 130 "locfile-kw.gperf" | 
|---|
| 450 | { "abday",                  tok_abday,                  0}, | 
|---|
| 451 | { ""}, | 
|---|
| 452 | #line 200 "locfile-kw.gperf" | 
|---|
| 453 | { "abbreviation",           tok_abbreviation,           0}, | 
|---|
| 454 | #line 147 "locfile-kw.gperf" | 
|---|
| 455 | { "first_workday",          tok_first_workday,          0}, | 
|---|
| 456 | { ""}, { ""}, | 
|---|
| 457 | #line 97 "locfile-kw.gperf" | 
|---|
| 458 | { "n_sign_posn",            tok_n_sign_posn,            0}, | 
|---|
| 459 | { ""}, { ""}, { ""}, | 
|---|
| 460 | #line 145 "locfile-kw.gperf" | 
|---|
| 461 | { "alt_digits",             tok_alt_digits,             0}, | 
|---|
| 462 | { ""}, { ""}, | 
|---|
| 463 | #line 128 "locfile-kw.gperf" | 
|---|
| 464 | { "grouping",               tok_grouping,               0}, | 
|---|
| 465 | { ""}, | 
|---|
| 466 | #line 45 "locfile-kw.gperf" | 
|---|
| 467 | { "blank",                  tok_blank,                  0}, | 
|---|
| 468 | { ""}, { ""}, | 
|---|
| 469 | #line 196 "locfile-kw.gperf" | 
|---|
| 470 | { "language",               tok_language,               0}, | 
|---|
| 471 | #line 120 "locfile-kw.gperf" | 
|---|
| 472 | { "uno_valid_from",         tok_uno_valid_from,         0}, | 
|---|
| 473 | { ""}, | 
|---|
| 474 | #line 199 "locfile-kw.gperf" | 
|---|
| 475 | { "application",            tok_application,            0}, | 
|---|
| 476 | { ""}, | 
|---|
| 477 | #line 80 "locfile-kw.gperf" | 
|---|
| 478 | { "elifndef",               tok_elifndef,               0}, | 
|---|
| 479 | { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 480 | #line 122 "locfile-kw.gperf" | 
|---|
| 481 | { "duo_valid_from",         tok_duo_valid_from,         0}, | 
|---|
| 482 | #line 57 "locfile-kw.gperf" | 
|---|
| 483 | { "coll_weight_max",        tok_coll_weight_max,        0}, | 
|---|
| 484 | { ""}, | 
|---|
| 485 | #line 79 "locfile-kw.gperf" | 
|---|
| 486 | { "elifdef",                tok_elifdef,                0}, | 
|---|
| 487 | #line 67 "locfile-kw.gperf" | 
|---|
| 488 | { "backward",               tok_backward,               0}, | 
|---|
| 489 | #line 106 "locfile-kw.gperf" | 
|---|
| 490 | { "duo_int_frac_digits",    tok_duo_int_frac_digits,    0}, | 
|---|
| 491 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 492 | #line 96 "locfile-kw.gperf" | 
|---|
| 493 | { "p_sign_posn",            tok_p_sign_posn,            0}, | 
|---|
| 494 | { ""}, | 
|---|
| 495 | #line 203 "locfile-kw.gperf" | 
|---|
| 496 | { "category",               tok_category,               0}, | 
|---|
| 497 | { ""}, { ""}, { ""}, { ""}, | 
|---|
| 498 | #line 134 "locfile-kw.gperf" | 
|---|
| 499 | { "mon",                    tok_mon,                    0}, | 
|---|
| 500 | { ""}, | 
|---|
| 501 | #line 124 "locfile-kw.gperf" | 
|---|
| 502 | { "conversion_rate",        tok_conversion_rate,        0}, | 
|---|
| 503 | { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 504 | #line 63 "locfile-kw.gperf" | 
|---|
| 505 | { "order_start",            tok_order_start,            0}, | 
|---|
| 506 | { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 507 | #line 178 "locfile-kw.gperf" | 
|---|
| 508 | { "lang_ab",                tok_lang_ab,                0}, | 
|---|
| 509 | #line 180 "locfile-kw.gperf" | 
|---|
| 510 | { "lang_lib",               tok_lang_lib,               0}, | 
|---|
| 511 | { ""}, { ""}, { ""}, | 
|---|
| 512 | #line 192 "locfile-kw.gperf" | 
|---|
| 513 | { "contact",                tok_contact,                0}, | 
|---|
| 514 | { ""}, { ""}, { ""}, | 
|---|
| 515 | #line 173 "locfile-kw.gperf" | 
|---|
| 516 | { "country_ab3",            tok_country_ab3,            0}, | 
|---|
| 517 | { ""}, { ""}, { ""}, | 
|---|
| 518 | #line 193 "locfile-kw.gperf" | 
|---|
| 519 | { "email",                  tok_email,                  0}, | 
|---|
| 520 | #line 172 "locfile-kw.gperf" | 
|---|
| 521 | { "country_ab2",            tok_country_ab2,            0}, | 
|---|
| 522 | { ""}, { ""}, { ""}, | 
|---|
| 523 | #line 55 "locfile-kw.gperf" | 
|---|
| 524 | { "default_missing",        tok_default_missing,        0}, | 
|---|
| 525 | { ""}, { ""}, | 
|---|
| 526 | #line 195 "locfile-kw.gperf" | 
|---|
| 527 | { "fax",                    tok_fax,                    0}, | 
|---|
| 528 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 529 | #line 174 "locfile-kw.gperf" | 
|---|
| 530 | { "country_num",            tok_country_num,            0}, | 
|---|
| 531 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 532 | #line 51 "locfile-kw.gperf" | 
|---|
| 533 | { "map",                    tok_map,                    0}, | 
|---|
| 534 | #line 65 "locfile-kw.gperf" | 
|---|
| 535 | { "from",                   tok_from,                   0}, | 
|---|
| 536 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 537 | #line 86 "locfile-kw.gperf" | 
|---|
| 538 | { "mon_thousands_sep",      tok_mon_thousands_sep,      0}, | 
|---|
| 539 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 540 | { ""}, { ""}, { ""}, | 
|---|
| 541 | #line 81 "locfile-kw.gperf" | 
|---|
| 542 | { "endif",                  tok_endif,                  0}, | 
|---|
| 543 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 544 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 545 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 546 | #line 151 "locfile-kw.gperf" | 
|---|
| 547 | { "alt_mon",                tok_alt_mon,                0}, | 
|---|
| 548 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 549 | #line 76 "locfile-kw.gperf" | 
|---|
| 550 | { "undef",                  tok_undef,                  0}, | 
|---|
| 551 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 552 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 553 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 554 | #line 59 "locfile-kw.gperf" | 
|---|
| 555 | { "collating-element",      tok_collating_element,      0}, | 
|---|
| 556 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 557 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 558 | #line 152 "locfile-kw.gperf" | 
|---|
| 559 | { "ab_alt_mon",             tok_ab_alt_mon,             0}, | 
|---|
| 560 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 561 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 562 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 563 | #line 66 "locfile-kw.gperf" | 
|---|
| 564 | { "forward",                tok_forward,                0}, | 
|---|
| 565 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 566 | { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 567 | #line 85 "locfile-kw.gperf" | 
|---|
| 568 | { "mon_decimal_point",      tok_mon_decimal_point,      0}, | 
|---|
| 569 | { ""}, { ""}, | 
|---|
| 570 | #line 169 "locfile-kw.gperf" | 
|---|
| 571 | { "postal_fmt",             tok_postal_fmt,             0}, | 
|---|
| 572 | { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 573 | #line 60 "locfile-kw.gperf" | 
|---|
| 574 | { "collating-symbol",       tok_collating_symbol,       0}, | 
|---|
| 575 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 576 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 577 | #line 35 "locfile-kw.gperf" | 
|---|
| 578 | { "alpha",                  tok_alpha,                  0}, | 
|---|
| 579 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 580 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 581 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 582 | { ""}, { ""}, | 
|---|
| 583 | #line 38 "locfile-kw.gperf" | 
|---|
| 584 | { "alnum",                  tok_alnum,                  0}, | 
|---|
| 585 | { ""}, | 
|---|
| 586 | #line 87 "locfile-kw.gperf" | 
|---|
| 587 | { "mon_grouping",           tok_mon_grouping,           0}, | 
|---|
| 588 | { ""}, | 
|---|
| 589 | #line 179 "locfile-kw.gperf" | 
|---|
| 590 | { "lang_term",              tok_lang_term,              0}, | 
|---|
| 591 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 592 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 593 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 594 | #line 77 "locfile-kw.gperf" | 
|---|
| 595 | { "ifdef",                  tok_ifdef,                  0}, | 
|---|
| 596 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 597 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 598 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 599 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 600 | { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, { ""}, | 
|---|
| 601 | { ""}, { ""}, { ""}, { ""}, | 
|---|
| 602 | #line 138 "locfile-kw.gperf" | 
|---|
| 603 | { "am_pm",                  tok_am_pm,                  0} | 
|---|
| 604 | }; | 
|---|
| 605 |  | 
|---|
| 606 | if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) | 
|---|
| 607 | { | 
|---|
| 608 | register unsigned int key = hash (str, len); | 
|---|
| 609 |  | 
|---|
| 610 | if (key <= MAX_HASH_VALUE) | 
|---|
| 611 | { | 
|---|
| 612 | register const char *s = wordlist[key].name; | 
|---|
| 613 |  | 
|---|
| 614 | if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') | 
|---|
| 615 | return &wordlist[key]; | 
|---|
| 616 | } | 
|---|
| 617 | } | 
|---|
| 618 | return 0; | 
|---|
| 619 | } | 
|---|
| 620 |  | 
|---|