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