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