1%{
2/* Copyright (C) 1996-2022 Free Software Foundation, Inc.
3   This file is part of the GNU C Library.
4
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.
9
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.
14
15   You should have received a copy of the GNU General Public License
16   along with this program; if not, see
17   <https://www.gnu.org/licenses/>.  */
18
19#include <string.h>
20
21#include "locfile-token.h"
22%}
23struct keyword_t ;
24%%
25escape_char,            tok_escape_char,            0
26comment_char,           tok_comment_char,           0
27repertoiremap,          tok_repertoiremap,          0
28include,                tok_include,                0
29LC_CTYPE,               tok_lc_ctype,               0
30END,                    tok_end,                    0
31copy,                   tok_copy,                   0
32upper,                  tok_upper,                  0
33lower,                  tok_lower,                  0
34alpha,                  tok_alpha,                  0
35digit,                  tok_digit,                  0
36outdigit,               tok_outdigit,               0
37alnum,                  tok_alnum,                  0
38space,                  tok_space,                  0
39cntrl,                  tok_cntrl,                  0
40punct,                  tok_punct,                  0
41graph,                  tok_graph,                  0
42print,                  tok_print,                  0
43xdigit,                 tok_xdigit,                 0
44blank,                  tok_blank,                  0
45charclass,              tok_charclass,              0
46class,                  tok_class,                  0
47charconv,               tok_charconv,               0
48toupper,                tok_toupper,                0
49tolower,                tok_tolower,                0
50map,                    tok_map,                    0
51translit_start,         tok_translit_start,         0
52translit_end,           tok_translit_end,           0
53translit_ignore,        tok_translit_ignore,        0
54default_missing,        tok_default_missing,        0
55LC_COLLATE,             tok_lc_collate,             0
56codepoint_collation,    tok_codepoint_collation,    0
57coll_weight_max,        tok_coll_weight_max,        0
58section-symbol,         tok_section_symbol,         0
59collating-element,      tok_collating_element,      0
60collating-symbol,       tok_collating_symbol,       0
61symbol-equivalence,     tok_symbol_equivalence,     0
62script,                 tok_script,                 0
63order_start,            tok_order_start,            0
64order_end,              tok_order_end,              0
65from,                   tok_from,                   0
66forward,                tok_forward,                0
67backward,               tok_backward,               0
68position,               tok_position,               0
69UNDEFINED,              tok_undefined,              0
70IGNORE,                 tok_ignore,                 0
71reorder-after,          tok_reorder_after,          0
72reorder-end,            tok_reorder_end,            0
73reorder-sections-after, tok_reorder_sections_after, 0
74reorder-sections-end,   tok_reorder_sections_end,   0
75define,                 tok_define,                 0
76undef,                  tok_undef,                  0
77ifdef,                  tok_ifdef,                  0
78else,                   tok_else,                   0
79elifdef,                tok_elifdef,                0
80elifndef,               tok_elifndef,               0
81endif,                  tok_endif,                  0
82LC_MONETARY,            tok_lc_monetary,            0
83int_curr_symbol,        tok_int_curr_symbol,        0
84currency_symbol,        tok_currency_symbol,        0
85mon_decimal_point,      tok_mon_decimal_point,      0
86mon_thousands_sep,      tok_mon_thousands_sep,      0
87mon_grouping,           tok_mon_grouping,           0
88positive_sign,          tok_positive_sign,          0
89negative_sign,          tok_negative_sign,          0
90int_frac_digits,        tok_int_frac_digits,        0
91frac_digits,            tok_frac_digits,            0
92p_cs_precedes,          tok_p_cs_precedes,          0
93p_sep_by_space,         tok_p_sep_by_space,         0
94n_cs_precedes,          tok_n_cs_precedes,          0
95n_sep_by_space,         tok_n_sep_by_space,         0
96p_sign_posn,            tok_p_sign_posn,            0
97n_sign_posn,            tok_n_sign_posn,            0
98int_p_cs_precedes,      tok_int_p_cs_precedes,      0
99int_p_sep_by_space,     tok_int_p_sep_by_space,     0
100int_n_cs_precedes,      tok_int_n_cs_precedes,      0
101int_n_sep_by_space,     tok_int_n_sep_by_space,     0
102int_p_sign_posn,        tok_int_p_sign_posn,        0
103int_n_sign_posn,        tok_int_n_sign_posn,        0
104duo_int_curr_symbol,    tok_duo_int_curr_symbol,    0
105duo_currency_symbol,    tok_duo_currency_symbol,    0
106duo_int_frac_digits,    tok_duo_int_frac_digits,    0
107duo_frac_digits,        tok_duo_frac_digits,        0
108duo_p_cs_precedes,      tok_duo_p_cs_precedes,      0
109duo_p_sep_by_space,     tok_duo_p_sep_by_space,     0
110duo_n_cs_precedes,      tok_duo_n_cs_precedes,      0
111duo_n_sep_by_space,     tok_duo_n_sep_by_space,     0
112duo_int_p_cs_precedes,  tok_duo_int_p_cs_precedes,  0
113duo_int_p_sep_by_space, tok_duo_int_p_sep_by_space, 0
114duo_int_n_cs_precedes,  tok_duo_int_n_cs_precedes,  0
115duo_int_n_sep_by_space, tok_duo_int_n_sep_by_space, 0
116duo_p_sign_posn,        tok_duo_p_sign_posn,        0
117duo_n_sign_posn,        tok_duo_n_sign_posn,        0
118duo_int_p_sign_posn,    tok_duo_int_p_sign_posn,    0
119duo_int_n_sign_posn,    tok_duo_int_n_sign_posn,    0
120uno_valid_from,         tok_uno_valid_from,         0
121uno_valid_to,           tok_uno_valid_to,           0
122duo_valid_from,         tok_duo_valid_from,         0
123duo_valid_to,           tok_duo_valid_to,           0
124conversion_rate,        tok_conversion_rate,        0
125LC_NUMERIC,             tok_lc_numeric,             0
126decimal_point,          tok_decimal_point,          0
127thousands_sep,          tok_thousands_sep,          0
128grouping,               tok_grouping,               0
129LC_TIME,                tok_lc_time,                0
130abday,                  tok_abday,                  0
131day,                    tok_day,                    0
132week,                   tok_week,                   0
133abmon,                  tok_abmon,                  0
134mon,                    tok_mon,                    0
135d_t_fmt,                tok_d_t_fmt,                0
136d_fmt,                  tok_d_fmt,                  0
137t_fmt,                  tok_t_fmt,                  0
138am_pm,                  tok_am_pm,                  0
139t_fmt_ampm,             tok_t_fmt_ampm,             0
140era,                    tok_era,                    0
141era_year,               tok_era_year,               0
142era_d_fmt,              tok_era_d_fmt,              0
143era_d_t_fmt,            tok_era_d_t_fmt,            0
144era_t_fmt,              tok_era_t_fmt,              0
145alt_digits,             tok_alt_digits,             0
146first_weekday,          tok_first_weekday,          0
147first_workday,          tok_first_workday,          0
148cal_direction,          tok_cal_direction,          0
149timezone,               tok_timezone,               0
150date_fmt,               tok_date_fmt,               0
151alt_mon,                tok_alt_mon,                0
152ab_alt_mon,             tok_ab_alt_mon,             0
153LC_MESSAGES,            tok_lc_messages,            0
154yesexpr,                tok_yesexpr,                0
155noexpr,                 tok_noexpr,                 0
156yesstr,                 tok_yesstr,                 0
157nostr,                  tok_nostr,                  0
158LC_PAPER,               tok_lc_paper,               0
159height,                 tok_height,                 0
160width,                  tok_width,                  0
161LC_NAME,                tok_lc_name,                0
162name_fmt,               tok_name_fmt,               0
163name_gen,               tok_name_gen,               0
164name_mr,                tok_name_mr,                0
165name_mrs,               tok_name_mrs,               0
166name_miss,              tok_name_miss,              0
167name_ms,                tok_name_ms,                0
168LC_ADDRESS,             tok_lc_address,             0
169postal_fmt,             tok_postal_fmt,             0
170country_name,           tok_country_name,           0
171country_post,           tok_country_post,           0
172country_ab2,            tok_country_ab2,            0
173country_ab3,            tok_country_ab3,            0
174country_num,            tok_country_num,            0
175country_car,            tok_country_car,            0
176country_isbn,           tok_country_isbn,           0
177lang_name,              tok_lang_name,              0
178lang_ab,                tok_lang_ab,                0
179lang_term,              tok_lang_term,              0
180lang_lib,               tok_lang_lib,               0
181LC_TELEPHONE,           tok_lc_telephone,           0
182tel_int_fmt,            tok_tel_int_fmt,            0
183tel_dom_fmt,            tok_tel_dom_fmt,            0
184int_select,             tok_int_select,             0
185int_prefix,             tok_int_prefix,             0
186LC_MEASUREMENT,         tok_lc_measurement,         0
187measurement,            tok_measurement,            0
188LC_IDENTIFICATION,      tok_lc_identification,      0
189title,                  tok_title,                  0
190source,                 tok_source,                 0
191address,                tok_address,                0
192contact,                tok_contact,                0
193email,                  tok_email,                  0
194tel,                    tok_tel,                    0
195fax,                    tok_fax,                    0
196language,               tok_language,               0
197territory,              tok_territory,              0
198audience,               tok_audience,               0
199application,            tok_application,            0
200abbreviation,           tok_abbreviation,           0
201revision,               tok_revision,               0
202date,                   tok_date,                   0
203category,               tok_category,               0
204