]>
Commit | Line | Data |
---|---|---|
3108c805 | 1 | %{ |
93868d11 | 2 | /* Command-line: gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */ |
3108c805 | 3 | %} |
0728688f | 4 | struct resword { const char *name; short token; enum rid rid; }; |
93868d11 KG |
5 | #ifdef __GNUC__ |
6 | __inline | |
7 | #endif | |
8 | static unsigned int hash PARAMS ((const char *, unsigned int)); | |
9 | #ifdef __GNUC__ | |
10 | __inline | |
11 | #endif | |
12 | struct resword *is_reserved_word PARAMS ((const char *, unsigned int)); | |
3108c805 | 13 | %% |
796c0c93 TW |
14 | @class, CLASS, NORID |
15 | @compatibility_alias, ALIAS, NORID | |
16 | @defs, DEFS, NORID | |
17 | @encode, ENCODE, NORID | |
18 | @end, END, NORID | |
19 | @implementation, IMPLEMENTATION, NORID | |
20 | @interface, INTERFACE, NORID | |
21 | @private, PRIVATE, NORID | |
22 | @protected, PROTECTED, NORID | |
23 | @protocol, PROTOCOL, NORID | |
24 | @public, PUBLIC, NORID | |
25 | @selector, SELECTOR, NORID | |
3108c805 RS |
26 | __alignof, ALIGNOF, NORID |
27 | __alignof__, ALIGNOF, NORID | |
07fa4fcb JW |
28 | __asm, ASM_KEYWORD, NORID |
29 | __asm__, ASM_KEYWORD, NORID | |
3108c805 RS |
30 | __attribute, ATTRIBUTE, NORID |
31 | __attribute__, ATTRIBUTE, NORID | |
4b4f19ec GM |
32 | __bounded, TYPE_QUAL, RID_BOUNDED |
33 | __bounded__, TYPE_QUAL, RID_BOUNDED | |
d3707adb | 34 | __builtin_va_arg, VA_ARG, NORID |
0c126191 RS |
35 | __complex, TYPESPEC, RID_COMPLEX |
36 | __complex__, TYPESPEC, RID_COMPLEX | |
3108c805 RS |
37 | __const, TYPE_QUAL, RID_CONST |
38 | __const__, TYPE_QUAL, RID_CONST | |
39 | __extension__, EXTENSION, NORID | |
45b208e9 RS |
40 | __imag, IMAGPART, NORID |
41 | __imag__, IMAGPART, NORID | |
3108c805 RS |
42 | __inline, SCSPEC, RID_INLINE |
43 | __inline__, SCSPEC, RID_INLINE | |
0c126191 | 44 | __iterator, SCSPEC, RID_ITERATOR |
16c6d8bf | 45 | __iterator__, SCSPEC, RID_ITERATOR |
3108c805 | 46 | __label__, LABEL, NORID |
4b4f19ec GM |
47 | __ptrbase, PTR_BASE, NORID |
48 | __ptrbase__, PTR_BASE, NORID | |
49 | __ptrextent, PTR_EXTENT, NORID | |
50 | __ptrextent__, PTR_EXTENT, NORID | |
51 | __ptrvalue, PTR_VALUE, NORID | |
52 | __ptrvalue__, PTR_VALUE, NORID | |
45b208e9 RS |
53 | __real, REALPART, NORID |
54 | __real__, REALPART, NORID | |
3932261a MM |
55 | __restrict, TYPE_QUAL, RID_RESTRICT |
56 | __restrict__, TYPE_QUAL, RID_RESTRICT | |
3108c805 RS |
57 | __signed, TYPESPEC, RID_SIGNED |
58 | __signed__, TYPESPEC, RID_SIGNED | |
59 | __typeof, TYPEOF, NORID | |
60 | __typeof__, TYPEOF, NORID | |
4b4f19ec GM |
61 | __unbounded, TYPE_QUAL, RID_UNBOUNDED |
62 | __unbounded__, TYPE_QUAL, RID_UNBOUNDED | |
3108c805 RS |
63 | __volatile, TYPE_QUAL, RID_VOLATILE |
64 | __volatile__, TYPE_QUAL, RID_VOLATILE | |
07fa4fcb | 65 | asm, ASM_KEYWORD, NORID |
3108c805 RS |
66 | auto, SCSPEC, RID_AUTO |
67 | break, BREAK, NORID | |
796c0c93 | 68 | bycopy, TYPE_QUAL, RID_BYCOPY |
f1488aba | 69 | byref, TYPE_QUAL, RID_BYREF |
3108c805 RS |
70 | case, CASE, NORID |
71 | char, TYPESPEC, RID_CHAR | |
72 | const, TYPE_QUAL, RID_CONST | |
73 | continue, CONTINUE, NORID | |
74 | default, DEFAULT, NORID | |
75 | do, DO, NORID | |
76 | double, TYPESPEC, RID_DOUBLE | |
77 | else, ELSE, NORID | |
78 | enum, ENUM, NORID | |
79 | extern, SCSPEC, RID_EXTERN | |
80 | float, TYPESPEC, RID_FLOAT | |
81 | for, FOR, NORID | |
82 | goto, GOTO, NORID | |
796c0c93 | 83 | id, OBJECTNAME, RID_ID |
3108c805 | 84 | if, IF, NORID |
796c0c93 TW |
85 | in, TYPE_QUAL, RID_IN |
86 | inout, TYPE_QUAL, RID_INOUT | |
3108c805 RS |
87 | inline, SCSPEC, RID_INLINE |
88 | int, TYPESPEC, RID_INT | |
89 | long, TYPESPEC, RID_LONG | |
796c0c93 TW |
90 | oneway, TYPE_QUAL, RID_ONEWAY |
91 | out, TYPE_QUAL, RID_OUT | |
3108c805 | 92 | register, SCSPEC, RID_REGISTER |
3932261a | 93 | restrict, TYPE_QUAL, RID_RESTRICT |
3108c805 RS |
94 | return, RETURN, NORID |
95 | short, TYPESPEC, RID_SHORT | |
96 | signed, TYPESPEC, RID_SIGNED | |
97 | sizeof, SIZEOF, NORID | |
98 | static, SCSPEC, RID_STATIC | |
99 | struct, STRUCT, NORID | |
100 | switch, SWITCH, NORID | |
101 | typedef, SCSPEC, RID_TYPEDEF | |
102 | typeof, TYPEOF, NORID | |
103 | union, UNION, NORID | |
104 | unsigned, TYPESPEC, RID_UNSIGNED | |
105 | void, TYPESPEC, RID_VOID | |
106 | volatile, TYPE_QUAL, RID_VOLATILE | |
107 | while, WHILE, NORID |