1%{
2%}
3struct resword { const char *name; int token; }
4%%
5EXPORT_SYMBOL, EXPORT_SYMBOL_KEYW
6EXPORT_SYMBOL_GPL, EXPORT_SYMBOL_KEYW
7EXPORT_SYMBOL_GPL_FUTURE, EXPORT_SYMBOL_KEYW
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
24restrict, RESTRICT_KEYW
25asm, 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
30auto, AUTO_KEYW
31char, CHAR_KEYW
32const, CONST_KEYW
33double, DOUBLE_KEYW
34enum, ENUM_KEYW
35extern, EXTERN_KEYW
36float, FLOAT_KEYW
37inline, INLINE_KEYW
38int, INT_KEYW
39long, LONG_KEYW
40register, REGISTER_KEYW
41short, SHORT_KEYW
42signed, SIGNED_KEYW
43static, STATIC_KEYW
44struct, STRUCT_KEYW
45typedef, TYPEDEF_KEYW
46union, UNION_KEYW
47unsigned, UNSIGNED_KEYW
48void, VOID_KEYW
49volatile, VOLATILE_KEYW
50typeof, TYPEOF_KEYW
51__typeof__, TYPEOF_KEYW
52