Updated to fedora-glibc-20041207T1331
[glibc.git] / locale / programs / locfile-token.h
blobcada206655b9882d0888820c955209aaa5fa042a
1 /* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
3 Contributed by Ulrich Drepper <drepper@gnu.org>, 1996.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 02111-1307 USA. */
20 #ifndef _TOKEN_H
21 #define _TOKEN_H
23 enum token_t
25 tok_none = 0,
27 tok_eof,
28 tok_eol,
29 tok_bsymbol,
30 tok_ident,
31 tok_ellipsis2,
32 tok_ellipsis3,
33 tok_ellipsis4,
34 tok_ellipsis2_2,
35 tok_ellipsis4_2,
36 tok_semicolon,
37 tok_comma,
38 tok_open_brace,
39 tok_close_brace,
40 tok_charcode,
41 tok_ucs4,
42 tok_number,
43 tok_minus1,
44 tok_string,
45 tok_include,
47 tok_escape_char,
48 tok_comment_char,
49 tok_charmap,
50 tok_end,
51 tok_g0esc,
52 tok_g1esc,
53 tok_g2esc,
54 tok_g3esc,
55 tok_escseq,
56 tok_addset,
58 tok_charids,
60 tok_code_set_name,
61 tok_mb_cur_max,
62 tok_mb_cur_min,
63 tok_charconv,
64 tok_width,
65 tok_width_variable,
66 tok_width_default,
67 tok_repertoiremap,
69 tok_lc_ctype,
70 tok_copy,
71 /* Keep the following entries up to the next comment in this order! */
72 tok_upper,
73 tok_lower,
74 tok_alpha,
75 tok_digit,
76 tok_xdigit,
77 tok_space,
78 tok_print,
79 tok_graph,
80 tok_blank,
81 tok_cntrl,
82 tok_punct,
83 tok_alnum,
84 /* OK, shuffling allowed again. */
85 tok_outdigit,
86 tok_charclass,
87 tok_class,
88 tok_toupper,
89 tok_tolower,
90 tok_map,
91 tok_translit_start,
92 tok_translit_end,
93 tok_translit_ignore,
94 tok_default_missing,
95 tok_lc_collate,
96 tok_coll_weight_max,
97 tok_section_symbol,
98 tok_collating_element,
99 tok_collating_symbol,
100 tok_symbol_equivalence,
101 tok_script,
102 tok_order_start,
103 tok_order_end,
104 tok_from,
105 tok_forward,
106 tok_backward,
107 tok_position,
108 tok_undefined,
109 tok_ignore,
110 tok_reorder_after,
111 tok_reorder_end,
112 tok_reorder_sections_after,
113 tok_reorder_sections_end,
114 tok_define,
115 tok_undef,
116 tok_ifdef,
117 tok_ifndef,
118 tok_else,
119 tok_elif,
120 tok_endif,
121 tok_lc_monetary,
122 tok_int_curr_symbol,
123 tok_currency_symbol,
124 tok_mon_decimal_point,
125 tok_mon_thousands_sep,
126 tok_mon_grouping,
127 tok_positive_sign,
128 tok_negative_sign,
129 tok_int_frac_digits,
130 tok_frac_digits,
131 tok_p_cs_precedes,
132 tok_p_sep_by_space,
133 tok_n_cs_precedes,
134 tok_n_sep_by_space,
135 tok_p_sign_posn,
136 tok_n_sign_posn,
137 tok_int_p_cs_precedes,
138 tok_int_p_sep_by_space,
139 tok_int_n_cs_precedes,
140 tok_int_n_sep_by_space,
141 tok_int_p_sign_posn,
142 tok_int_n_sign_posn,
143 tok_duo_int_curr_symbol,
144 tok_duo_currency_symbol,
145 tok_duo_int_frac_digits,
146 tok_duo_frac_digits,
147 tok_duo_p_cs_precedes,
148 tok_duo_p_sep_by_space,
149 tok_duo_n_cs_precedes,
150 tok_duo_n_sep_by_space,
151 tok_duo_int_p_cs_precedes,
152 tok_duo_int_p_sep_by_space,
153 tok_duo_int_n_cs_precedes,
154 tok_duo_int_n_sep_by_space,
155 tok_duo_p_sign_posn,
156 tok_duo_n_sign_posn,
157 tok_duo_int_p_sign_posn,
158 tok_duo_int_n_sign_posn,
159 tok_uno_valid_from,
160 tok_uno_valid_to,
161 tok_duo_valid_from,
162 tok_duo_valid_to,
163 tok_conversion_rate,
164 tok_lc_numeric,
165 tok_decimal_point,
166 tok_thousands_sep,
167 tok_grouping,
168 tok_lc_time,
169 tok_abday,
170 tok_day,
171 tok_abmon,
172 tok_mon,
173 tok_d_t_fmt,
174 tok_d_fmt,
175 tok_t_fmt,
176 tok_am_pm,
177 tok_t_fmt_ampm,
178 tok_era,
179 tok_era_year,
180 tok_era_d_fmt,
181 tok_era_d_t_fmt,
182 tok_era_t_fmt,
183 tok_alt_digits,
184 tok_week,
185 tok_first_weekday,
186 tok_first_workday,
187 tok_cal_direction,
188 tok_timezone,
189 tok_date_fmt,
190 tok_lc_messages,
191 tok_yesexpr,
192 tok_noexpr,
193 tok_yesstr,
194 tok_nostr,
195 tok_lc_paper,
196 tok_height,
197 tok_lc_name,
198 tok_name_fmt,
199 tok_name_gen,
200 tok_name_mr,
201 tok_name_mrs,
202 tok_name_miss,
203 tok_name_ms,
204 tok_lc_address,
205 tok_postal_fmt,
206 tok_country_name,
207 tok_country_post,
208 tok_country_ab2,
209 tok_country_ab3,
210 tok_country_num,
211 tok_country_car,
212 tok_country_isbn,
213 tok_lang_name,
214 tok_lang_ab,
215 tok_lang_term,
216 tok_lang_lib,
217 tok_lc_telephone,
218 tok_tel_int_fmt,
219 tok_tel_dom_fmt,
220 tok_int_select,
221 tok_int_prefix,
222 tok_lc_measurement,
223 tok_measurement,
224 tok_lc_identification,
225 tok_title,
226 tok_source,
227 tok_address,
228 tok_contact,
229 tok_email,
230 tok_tel,
231 tok_fax,
232 tok_language,
233 tok_territory,
234 tok_audience,
235 tok_application,
236 tok_abbreviation,
237 tok_revision,
238 tok_date,
239 tok_category,
241 tok_error
245 struct keyword_t
247 const char *name;
248 enum token_t token;
249 int symname_or_ident;
251 /* Only for locdef file. */
252 int locale;
253 enum token_t base;
254 enum token_t group;
255 enum token_t list;
259 #endif /* token.h */