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