Commit | Line | Data |
---|---|---|
1da177e4 | 1 | %{ |
ed9df091 JT |
2 | struct resword; |
3 | static const struct resword *is_reserved_word(register const char *str, register unsigned int len); | |
1da177e4 LT |
4 | %} |
5 | struct resword { const char *name; int token; } | |
6 | %% | |
7 | EXPORT_SYMBOL, EXPORT_SYMBOL_KEYW | |
8 | EXPORT_SYMBOL_GPL, EXPORT_SYMBOL_KEYW | |
9f28bb7e | 9 | EXPORT_SYMBOL_GPL_FUTURE, EXPORT_SYMBOL_KEYW |
1da177e4 LT |
10 | __asm, ASM_KEYW |
11 | __asm__, ASM_KEYW | |
12 | __attribute, ATTRIBUTE_KEYW | |
13 | __attribute__, ATTRIBUTE_KEYW | |
14 | __const, CONST_KEYW | |
15 | __const__, CONST_KEYW | |
3550a516 | 16 | __extension__, EXTENSION_KEYW |
1da177e4 LT |
17 | __inline, INLINE_KEYW |
18 | __inline__, INLINE_KEYW | |
19 | __signed, SIGNED_KEYW | |
20 | __signed__, SIGNED_KEYW | |
21 | __volatile, VOLATILE_KEYW | |
22 | __volatile__, VOLATILE_KEYW | |
23 | # According to rth, c99 defines _Bool, __restrict, __restrict__, restrict. KAO | |
24 | _Bool, BOOL_KEYW | |
25 | _restrict, RESTRICT_KEYW | |
26 | __restrict__, RESTRICT_KEYW | |
27 | restrict, RESTRICT_KEYW | |
28 | asm, ASM_KEYW | |
29 | # attribute commented out in modutils 2.4.2. People are using 'attribute' as a | |
30 | # field name which breaks the genksyms parser. It is not a gcc keyword anyway. | |
31 | # KAO. | |
32 | # attribute, ATTRIBUTE_KEYW | |
33 | auto, AUTO_KEYW | |
34 | char, CHAR_KEYW | |
35 | const, CONST_KEYW | |
36 | double, DOUBLE_KEYW | |
37 | enum, ENUM_KEYW | |
38 | extern, EXTERN_KEYW | |
39 | float, FLOAT_KEYW | |
40 | inline, INLINE_KEYW | |
41 | int, INT_KEYW | |
42 | long, LONG_KEYW | |
43 | register, REGISTER_KEYW | |
44 | short, SHORT_KEYW | |
45 | signed, SIGNED_KEYW | |
46 | static, STATIC_KEYW | |
47 | struct, STRUCT_KEYW | |
48 | typedef, TYPEDEF_KEYW | |
49 | union, UNION_KEYW | |
50 | unsigned, UNSIGNED_KEYW | |
51 | void, VOID_KEYW | |
52 | volatile, VOLATILE_KEYW | |
53 | typeof, TYPEOF_KEYW | |
54 | __typeof__, TYPEOF_KEYW |