New file from Schwab
[glibc/history.git] / locale / keyword.gperf
blob20941bc03d1292514da079735a50b7023d110273
1 %{
2 /* `strncmp' is used for comparison.  */
3 #include <string.h>
5 /* This file defines `enum token'.  */
6 #include "token.h"
7 %}
8 struct locale_keyword { char *name; enum token token_id; };
9 %%
10 END,               TOK_END
11 IGNORE,            TOK_IGNORE
12 LC_COLLATE,        _NL_NUM_LC_COLLATE
13 LC_CTYPE,          _NL_NUM_LC_CTYPE
14 LC_MESSAGES,       _NL_NUM_LC_MESSAGES
15 LC_MONETARY,       _NL_NUM_LC_MONETARY
16 LC_NUMERIC,        _NL_NUM_LC_NUMERIC
17 LC_TIME,           _NL_NUM_LC_TIME
18 UNDEFINED,         TOK_UNDEFINED
19 abday,             ABDAY_1
20 abmon,             ABMON_1
21 alpha,             TOK_ALPHA
22 alt_digits,        ALT_DIGITS
23 am_pm,             AM_STR
24 backward,          TOK_BACKWARD
25 blank,             TOK_BLANK
26 cntrl,             TOK_CNTRL
27 collating_element, TOK_COLLATING_ELEMENT
28 collating_symbol,  TOK_COLLATING_SYMBOL
29 comment_char,      TOK_COMMENT_CHAR
30 copy,              TOK_COPY
31 currency_symbol,   CURRENCY_SYMBOL
32 d_fmt,             D_FMT
33 d_t_fmt,           D_T_FMT
34 day,               DAY_1
35 decimal_point,     DECIMAL_POINT
36 digit,             TOK_DIGIT
37 era,               ERA
38 era_d_fmt,         ERA_D_FMT
39 era_year,          ERA_YEAR
40 escape_char,       TOK_ESCAPE_CHAR
41 forward,           TOK_FORWARD
42 frac_digits,       FRAC_DIGITS
43 from,              TOK_FROM
44 graph,             TOK_GRAPH
45 grouping,          GROUPING
46 int_curr_symbol,   INT_CURR_SYMBOL
47 int_frac_digits,   INT_FRAC_DIGITS
48 lower,             TOK_LOWER
49 mon,               MON_1
50 mon_decimal_point, MON_DECIMAL_POINT
51 mon_grouping,      MON_GROUPING
52 mon_thousands_sep, MON_THOUSANDS_SEP
53 n_cs_precedes,     N_CS_PRECEDES
54 n_sep_by_space,    N_SEP_BY_SPACE
55 n_sign_posn,       N_SIGN_POSN
56 negative_sign,     NEGATIVE_SIGN
57 noexpr,            NOEXPR
58 nostr,             NOSTR
59 order_end,         TOK_ORDER_END
60 order_start,       TOK_ORDER_START
61 p_cs_precedes,     P_CS_PRECEDES
62 p_sep_by_space,    P_SEP_BY_SPACE
63 p_sign_posn,       P_SIGN_POSN
64 position,          TOK_POSITION
65 positive_sign,     POSITIVE_SIGN
66 print,             TOK_PRINT
67 punct,             TOK_PUNCT
68 space,             TOK_SPACE
69 t_fmt,             T_FMT
70 t_fmt_ampm,        T_FMT_AMPM
71 thousands_sep,     THOUSANDS_SEP
72 tolower,           TOK_TOLOWER
73 toupper,           TOK_TOUPPER
74 upper,             TOK_UPPER
75 xdigit,            TOK_XDIGIT
76 yesexpr,           YESEXPR
77 yesstr,            YESSTR