* posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
[glibc.git] / locale / programs / locfile-token.h
blobb07356aebd0d79f57af229245bec9cac626aad9a
2 /* Copyright (C) 1996 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4 Contributed by Ulrich Drepper, <drepper@gnu.ai.mit.edu>.
6 The GNU C Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public License as
8 published by the Free Software Foundation; either version 2 of the
9 License, or (at your option) any later version.
11 The GNU C Library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public
17 License along with the GNU C Library; see the file COPYING.LIB. If
18 not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 #ifndef _TOKEN_H
22 #define _TOKEN_H
24 enum token_t
26 tok_none = 0,
28 tok_eof,
29 tok_eol,
30 tok_bsymbol,
31 tok_ident,
32 tok_ellipsis,
33 tok_semicolon,
34 tok_comma,
35 tok_open_brace,
36 tok_close_brace,
37 tok_charcode,
38 tok_ucs2,
39 tok_ucs4,
40 tok_number,
41 tok_minus1,
42 tok_string,
44 tok_escape_char,
45 tok_comment_char,
46 tok_charmap,
47 tok_end,
48 tok_g0esc,
49 tok_g1esc,
50 tok_g2esc,
51 tok_g3esc,
53 tok_code_set_name,
54 tok_mb_cur_max,
55 tok_mb_cur_min,
56 tok_charconv,
57 tok_width,
58 tok_width_variable,
59 tok_width_default,
61 tok_lc_ctype,
62 tok_copy,
63 tok_upper,
64 tok_lower,
65 tok_alpha,
66 tok_digit,
67 tok_xdigit,
68 tok_space,
69 tok_print,
70 tok_graph,
71 tok_blank,
72 tok_cntrl,
73 tok_punct,
74 tok_alnum,
75 tok_charclass,
76 tok_toupper,
77 tok_tolower,
78 tok_lc_collate,
79 tok_collating_element,
80 tok_collating_symbol,
81 tok_order_start,
82 tok_order_end,
83 tok_from,
84 tok_forward,
85 tok_backward,
86 tok_position,
87 tok_undefined,
88 tok_ignore,
89 tok_lc_monetary,
90 tok_int_curr_symbol,
91 tok_currency_symbol,
92 tok_mon_decimal_point,
93 tok_mon_thousands_sep,
94 tok_mon_grouping,
95 tok_positive_sign,
96 tok_negative_sign,
97 tok_int_frac_digits,
98 tok_frac_digits,
99 tok_p_cs_precedes,
100 tok_p_sep_by_space,
101 tok_n_cs_precedes,
102 tok_n_sep_by_space,
103 tok_p_sign_posn,
104 tok_n_sign_posn,
105 tok_lc_numeric,
106 tok_decimal_point,
107 tok_thousands_sep,
108 tok_grouping,
109 tok_lc_time,
110 tok_abday,
111 tok_day,
112 tok_abmon,
113 tok_mon,
114 tok_d_t_fmt,
115 tok_d_fmt,
116 tok_t_fmt,
117 tok_am_pm,
118 tok_t_fmt_ampm,
119 tok_era,
120 tok_era_year,
121 tok_era_d_fmt,
122 tok_era_d_t_fmt,
123 tok_era_t_fmt,
124 tok_alt_digits,
125 tok_lc_messages,
126 tok_yesexpr,
127 tok_noexpr,
128 tok_yesstr,
129 tok_nostr,
131 tok_error
135 struct keyword_t
137 const char *name;
138 enum token_t token;
139 int symname_or_ident;
141 /* Only for locdef file. */
142 int locale;
143 enum token_t base;
144 enum token_t group;
145 enum token_t list;
149 #endif /* token.h */