diff options
Diffstat (limited to 'scripts/genksyms/keywords.c_shipped')
-rw-r--r-- | scripts/genksyms/keywords.c_shipped | 180 |
1 files changed, 90 insertions, 90 deletions
diff --git a/scripts/genksyms/keywords.c_shipped b/scripts/genksyms/keywords.c_shipped index d8153f572e40..971e0113ae7a 100644 --- a/scripts/genksyms/keywords.c_shipped +++ b/scripts/genksyms/keywords.c_shipped | |||
@@ -1,4 +1,4 @@ | |||
1 | /* ANSI-C code produced by gperf version 3.0.1 */ | 1 | /* ANSI-C code produced by gperf version 3.0.2 */ |
2 | /* Command-line: gperf -L ANSI-C -a -C -E -g -H is_reserved_hash -k '1,3,$' -N is_reserved_word -p -t scripts/genksyms/keywords.gperf */ | 2 | /* Command-line: gperf -L ANSI-C -a -C -E -g -H is_reserved_hash -k '1,3,$' -N is_reserved_word -p -t scripts/genksyms/keywords.gperf */ |
3 | 3 | ||
4 | #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ | 4 | #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ |
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #line 3 "scripts/genksyms/keywords.gperf" | 33 | #line 3 "scripts/genksyms/keywords.gperf" |
34 | struct resword { const char *name; int token; }; | 34 | struct resword { const char *name; int token; }; |
35 | /* maximum key range = 68, duplicates = 0 */ | 35 | /* maximum key range = 62, duplicates = 0 */ |
36 | 36 | ||
37 | #ifdef __GNUC__ | 37 | #ifdef __GNUC__ |
38 | __inline | 38 | __inline |
@@ -46,32 +46,32 @@ is_reserved_hash (register const char *str, register unsigned int len) | |||
46 | { | 46 | { |
47 | static const unsigned char asso_values[] = | 47 | static const unsigned char asso_values[] = |
48 | { | 48 | { |
49 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 49 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
50 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 50 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
51 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 51 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
52 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 52 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
53 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 53 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
54 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 54 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
55 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 0, | 55 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 5, |
56 | 71, 71, 71, 71, 71, 71, 35, 71, 71, 71, | 56 | 65, 65, 65, 65, 65, 65, 35, 65, 65, 65, |
57 | 5, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 57 | 0, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
58 | 71, 71, 71, 71, 71, 0, 71, 0, 71, 5, | 58 | 65, 65, 65, 65, 65, 0, 65, 0, 65, 5, |
59 | 5, 0, 10, 20, 71, 25, 71, 71, 20, 0, | 59 | 20, 15, 10, 30, 65, 15, 65, 65, 20, 0, |
60 | 20, 30, 25, 71, 10, 5, 0, 20, 15, 71, | 60 | 10, 35, 20, 65, 10, 5, 0, 10, 5, 65, |
61 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 61 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
62 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 62 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
63 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 63 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
64 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 64 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
65 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 65 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
66 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 66 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
67 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 67 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
68 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 68 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
69 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 69 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
70 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 70 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
71 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 71 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
72 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 72 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
73 | 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, | 73 | 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, |
74 | 71, 71, 71, 71, 71, 71 | 74 | 65, 65, 65, 65, 65, 65 |
75 | }; | 75 | }; |
76 | return len + asso_values[(unsigned char)str[2]] + asso_values[(unsigned char)str[0]] + asso_values[(unsigned char)str[len - 1]]; | 76 | return len + asso_values[(unsigned char)str[2]] + asso_values[(unsigned char)str[0]] + asso_values[(unsigned char)str[len - 1]]; |
77 | } | 77 | } |
@@ -84,17 +84,17 @@ is_reserved_word (register const char *str, register unsigned int len) | |||
84 | { | 84 | { |
85 | enum | 85 | enum |
86 | { | 86 | { |
87 | TOTAL_KEYWORDS = 42, | 87 | TOTAL_KEYWORDS = 43, |
88 | MIN_WORD_LENGTH = 3, | 88 | MIN_WORD_LENGTH = 3, |
89 | MAX_WORD_LENGTH = 24, | 89 | MAX_WORD_LENGTH = 24, |
90 | MIN_HASH_VALUE = 3, | 90 | MIN_HASH_VALUE = 3, |
91 | MAX_HASH_VALUE = 70 | 91 | MAX_HASH_VALUE = 64 |
92 | }; | 92 | }; |
93 | 93 | ||
94 | static const struct resword wordlist[] = | 94 | static const struct resword wordlist[] = |
95 | { | 95 | { |
96 | {""}, {""}, {""}, | 96 | {""}, {""}, {""}, |
97 | #line 25 "scripts/genksyms/keywords.gperf" | 97 | #line 26 "scripts/genksyms/keywords.gperf" |
98 | {"asm", ASM_KEYW}, | 98 | {"asm", ASM_KEYW}, |
99 | {""}, | 99 | {""}, |
100 | #line 8 "scripts/genksyms/keywords.gperf" | 100 | #line 8 "scripts/genksyms/keywords.gperf" |
@@ -102,98 +102,98 @@ is_reserved_word (register const char *str, register unsigned int len) | |||
102 | {""}, | 102 | {""}, |
103 | #line 9 "scripts/genksyms/keywords.gperf" | 103 | #line 9 "scripts/genksyms/keywords.gperf" |
104 | {"__asm__", ASM_KEYW}, | 104 | {"__asm__", ASM_KEYW}, |
105 | {""}, | 105 | {""}, {""}, |
106 | #line 22 "scripts/genksyms/keywords.gperf" | 106 | #line 52 "scripts/genksyms/keywords.gperf" |
107 | {"_restrict", RESTRICT_KEYW}, | ||
108 | #line 51 "scripts/genksyms/keywords.gperf" | ||
109 | {"__typeof__", TYPEOF_KEYW}, | 107 | {"__typeof__", TYPEOF_KEYW}, |
110 | #line 10 "scripts/genksyms/keywords.gperf" | 108 | {""}, |
111 | {"__attribute", ATTRIBUTE_KEYW}, | ||
112 | #line 12 "scripts/genksyms/keywords.gperf" | 109 | #line 12 "scripts/genksyms/keywords.gperf" |
113 | {"__const", CONST_KEYW}, | 110 | {"__const", CONST_KEYW}, |
114 | #line 11 "scripts/genksyms/keywords.gperf" | 111 | #line 11 "scripts/genksyms/keywords.gperf" |
115 | {"__attribute__", ATTRIBUTE_KEYW}, | 112 | {"__attribute__", ATTRIBUTE_KEYW}, |
116 | #line 13 "scripts/genksyms/keywords.gperf" | 113 | #line 13 "scripts/genksyms/keywords.gperf" |
117 | {"__const__", CONST_KEYW}, | 114 | {"__const__", CONST_KEYW}, |
118 | #line 17 "scripts/genksyms/keywords.gperf" | 115 | #line 18 "scripts/genksyms/keywords.gperf" |
119 | {"__signed__", SIGNED_KEYW}, | 116 | {"__signed__", SIGNED_KEYW}, |
120 | #line 43 "scripts/genksyms/keywords.gperf" | 117 | #line 44 "scripts/genksyms/keywords.gperf" |
121 | {"static", STATIC_KEYW}, | 118 | {"static", STATIC_KEYW}, |
122 | {""}, | 119 | #line 20 "scripts/genksyms/keywords.gperf" |
123 | #line 16 "scripts/genksyms/keywords.gperf" | 120 | {"__volatile__", VOLATILE_KEYW}, |
124 | {"__signed", SIGNED_KEYW}, | 121 | #line 39 "scripts/genksyms/keywords.gperf" |
125 | #line 31 "scripts/genksyms/keywords.gperf" | 122 | {"int", INT_KEYW}, |
123 | #line 32 "scripts/genksyms/keywords.gperf" | ||
126 | {"char", CHAR_KEYW}, | 124 | {"char", CHAR_KEYW}, |
127 | {""}, | 125 | #line 33 "scripts/genksyms/keywords.gperf" |
128 | #line 44 "scripts/genksyms/keywords.gperf" | 126 | {"const", CONST_KEYW}, |
127 | #line 45 "scripts/genksyms/keywords.gperf" | ||
129 | {"struct", STRUCT_KEYW}, | 128 | {"struct", STRUCT_KEYW}, |
130 | #line 23 "scripts/genksyms/keywords.gperf" | ||
131 | {"__restrict__", RESTRICT_KEYW}, | ||
132 | #line 24 "scripts/genksyms/keywords.gperf" | 129 | #line 24 "scripts/genksyms/keywords.gperf" |
130 | {"__restrict__", RESTRICT_KEYW}, | ||
131 | #line 25 "scripts/genksyms/keywords.gperf" | ||
133 | {"restrict", RESTRICT_KEYW}, | 132 | {"restrict", RESTRICT_KEYW}, |
134 | #line 34 "scripts/genksyms/keywords.gperf" | 133 | #line 23 "scripts/genksyms/keywords.gperf" |
134 | {"_restrict", RESTRICT_KEYW}, | ||
135 | #line 16 "scripts/genksyms/keywords.gperf" | ||
136 | {"__inline__", INLINE_KEYW}, | ||
137 | #line 10 "scripts/genksyms/keywords.gperf" | ||
138 | {"__attribute", ATTRIBUTE_KEYW}, | ||
139 | {""}, | ||
140 | #line 14 "scripts/genksyms/keywords.gperf" | ||
141 | {"__extension__", EXTENSION_KEYW}, | ||
142 | #line 35 "scripts/genksyms/keywords.gperf" | ||
135 | {"enum", ENUM_KEYW}, | 143 | {"enum", ENUM_KEYW}, |
136 | #line 18 "scripts/genksyms/keywords.gperf" | 144 | #line 19 "scripts/genksyms/keywords.gperf" |
137 | {"__volatile", VOLATILE_KEYW}, | 145 | {"__volatile", VOLATILE_KEYW}, |
138 | #line 35 "scripts/genksyms/keywords.gperf" | 146 | #line 36 "scripts/genksyms/keywords.gperf" |
139 | {"extern", EXTERN_KEYW}, | 147 | {"extern", EXTERN_KEYW}, |
140 | #line 19 "scripts/genksyms/keywords.gperf" | 148 | {""}, |
141 | {"__volatile__", VOLATILE_KEYW}, | 149 | #line 17 "scripts/genksyms/keywords.gperf" |
142 | #line 38 "scripts/genksyms/keywords.gperf" | 150 | {"__signed", SIGNED_KEYW}, |
143 | {"int", INT_KEYW}, | ||
144 | #line 7 "scripts/genksyms/keywords.gperf" | 151 | #line 7 "scripts/genksyms/keywords.gperf" |
145 | {"EXPORT_SYMBOL_GPL_FUTURE", EXPORT_SYMBOL_KEYW}, | 152 | {"EXPORT_SYMBOL_GPL_FUTURE", EXPORT_SYMBOL_KEYW}, |
146 | #line 32 "scripts/genksyms/keywords.gperf" | ||
147 | {"const", CONST_KEYW}, | ||
148 | #line 33 "scripts/genksyms/keywords.gperf" | ||
149 | {"double", DOUBLE_KEYW}, | ||
150 | {""}, | 153 | {""}, |
151 | #line 14 "scripts/genksyms/keywords.gperf" | 154 | #line 51 "scripts/genksyms/keywords.gperf" |
155 | {"typeof", TYPEOF_KEYW}, | ||
156 | #line 46 "scripts/genksyms/keywords.gperf" | ||
157 | {"typedef", TYPEDEF_KEYW}, | ||
158 | #line 15 "scripts/genksyms/keywords.gperf" | ||
152 | {"__inline", INLINE_KEYW}, | 159 | {"__inline", INLINE_KEYW}, |
153 | #line 30 "scripts/genksyms/keywords.gperf" | 160 | #line 31 "scripts/genksyms/keywords.gperf" |
154 | {"auto", AUTO_KEYW}, | 161 | {"auto", AUTO_KEYW}, |
155 | #line 15 "scripts/genksyms/keywords.gperf" | ||
156 | {"__inline__", INLINE_KEYW}, | ||
157 | #line 42 "scripts/genksyms/keywords.gperf" | ||
158 | {"signed", SIGNED_KEYW}, | ||
159 | {""}, | ||
160 | #line 47 "scripts/genksyms/keywords.gperf" | 162 | #line 47 "scripts/genksyms/keywords.gperf" |
163 | {"union", UNION_KEYW}, | ||
164 | {""}, {""}, | ||
165 | #line 48 "scripts/genksyms/keywords.gperf" | ||
161 | {"unsigned", UNSIGNED_KEYW}, | 166 | {"unsigned", UNSIGNED_KEYW}, |
162 | {""}, | 167 | #line 49 "scripts/genksyms/keywords.gperf" |
163 | #line 41 "scripts/genksyms/keywords.gperf" | 168 | {"void", VOID_KEYW}, |
169 | #line 42 "scripts/genksyms/keywords.gperf" | ||
164 | {"short", SHORT_KEYW}, | 170 | {"short", SHORT_KEYW}, |
171 | {""}, {""}, | ||
165 | #line 50 "scripts/genksyms/keywords.gperf" | 172 | #line 50 "scripts/genksyms/keywords.gperf" |
166 | {"typeof", TYPEOF_KEYW}, | ||
167 | #line 45 "scripts/genksyms/keywords.gperf" | ||
168 | {"typedef", TYPEDEF_KEYW}, | ||
169 | #line 49 "scripts/genksyms/keywords.gperf" | ||
170 | {"volatile", VOLATILE_KEYW}, | 173 | {"volatile", VOLATILE_KEYW}, |
171 | {""}, | 174 | {""}, |
172 | #line 36 "scripts/genksyms/keywords.gperf" | ||
173 | {"float", FLOAT_KEYW}, | ||
174 | {""}, {""}, | ||
175 | #line 40 "scripts/genksyms/keywords.gperf" | ||
176 | {"register", REGISTER_KEYW}, | ||
177 | #line 48 "scripts/genksyms/keywords.gperf" | ||
178 | {"void", VOID_KEYW}, | ||
179 | {""}, | ||
180 | #line 37 "scripts/genksyms/keywords.gperf" | 175 | #line 37 "scripts/genksyms/keywords.gperf" |
181 | {"inline", INLINE_KEYW}, | 176 | {"float", FLOAT_KEYW}, |
177 | #line 34 "scripts/genksyms/keywords.gperf" | ||
178 | {"double", DOUBLE_KEYW}, | ||
182 | {""}, | 179 | {""}, |
183 | #line 5 "scripts/genksyms/keywords.gperf" | 180 | #line 5 "scripts/genksyms/keywords.gperf" |
184 | {"EXPORT_SYMBOL", EXPORT_SYMBOL_KEYW}, | 181 | {"EXPORT_SYMBOL", EXPORT_SYMBOL_KEYW}, |
185 | {""}, | 182 | {""}, {""}, |
186 | #line 21 "scripts/genksyms/keywords.gperf" | 183 | #line 38 "scripts/genksyms/keywords.gperf" |
187 | {"_Bool", BOOL_KEYW}, | 184 | {"inline", INLINE_KEYW}, |
188 | {""}, | ||
189 | #line 6 "scripts/genksyms/keywords.gperf" | 185 | #line 6 "scripts/genksyms/keywords.gperf" |
190 | {"EXPORT_SYMBOL_GPL", EXPORT_SYMBOL_KEYW}, | 186 | {"EXPORT_SYMBOL_GPL", EXPORT_SYMBOL_KEYW}, |
191 | {""}, {""}, {""}, {""}, {""}, {""}, | 187 | #line 41 "scripts/genksyms/keywords.gperf" |
192 | #line 39 "scripts/genksyms/keywords.gperf" | 188 | {"register", REGISTER_KEYW}, |
193 | {"long", LONG_KEYW}, | 189 | {""}, |
194 | {""}, {""}, {""}, {""}, {""}, | 190 | #line 22 "scripts/genksyms/keywords.gperf" |
195 | #line 46 "scripts/genksyms/keywords.gperf" | 191 | {"_Bool", BOOL_KEYW}, |
196 | {"union", UNION_KEYW} | 192 | #line 43 "scripts/genksyms/keywords.gperf" |
193 | {"signed", SIGNED_KEYW}, | ||
194 | {""}, {""}, | ||
195 | #line 40 "scripts/genksyms/keywords.gperf" | ||
196 | {"long", LONG_KEYW} | ||
197 | }; | 197 | }; |
198 | 198 | ||
199 | if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) | 199 | if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) |