1 | %{ |
---|
2 | /* Command-line: gperf -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */ |
---|
3 | %} |
---|
4 | struct resword { char *name; short token; enum rid rid; }; |
---|
5 | %% |
---|
6 | @class, CLASS, NORID |
---|
7 | @compatibility_alias, ALIAS, NORID |
---|
8 | @defs, DEFS, NORID |
---|
9 | @encode, ENCODE, NORID |
---|
10 | @end, END, NORID |
---|
11 | @implementation, IMPLEMENTATION, NORID |
---|
12 | @interface, INTERFACE, NORID |
---|
13 | @private, PRIVATE, NORID |
---|
14 | @protected, PROTECTED, NORID |
---|
15 | @protocol, PROTOCOL, NORID |
---|
16 | @public, PUBLIC, NORID |
---|
17 | @selector, SELECTOR, NORID |
---|
18 | __alignof, ALIGNOF, NORID |
---|
19 | __alignof__, ALIGNOF, NORID |
---|
20 | __asm, ASM_KEYWORD, NORID |
---|
21 | __asm__, ASM_KEYWORD, NORID |
---|
22 | __attribute, ATTRIBUTE, NORID |
---|
23 | __attribute__, ATTRIBUTE, NORID |
---|
24 | __complex, TYPESPEC, RID_COMPLEX |
---|
25 | __complex__, TYPESPEC, RID_COMPLEX |
---|
26 | __const, TYPE_QUAL, RID_CONST |
---|
27 | __const__, TYPE_QUAL, RID_CONST |
---|
28 | __extension__, EXTENSION, NORID |
---|
29 | __imag, IMAGPART, NORID |
---|
30 | __imag__, IMAGPART, NORID |
---|
31 | __inline, SCSPEC, RID_INLINE |
---|
32 | __inline__, SCSPEC, RID_INLINE |
---|
33 | __iterator, SCSPEC, RID_ITERATOR |
---|
34 | __iterator__, SCSPEC, RID_ITERATOR |
---|
35 | __label__, LABEL, NORID |
---|
36 | __real, REALPART, NORID |
---|
37 | __real__, REALPART, NORID |
---|
38 | __signed, TYPESPEC, RID_SIGNED |
---|
39 | __signed__, TYPESPEC, RID_SIGNED |
---|
40 | __typeof, TYPEOF, NORID |
---|
41 | __typeof__, TYPEOF, NORID |
---|
42 | __volatile, TYPE_QUAL, RID_VOLATILE |
---|
43 | __volatile__, TYPE_QUAL, RID_VOLATILE |
---|
44 | asm, ASM_KEYWORD, NORID |
---|
45 | auto, SCSPEC, RID_AUTO |
---|
46 | break, BREAK, NORID |
---|
47 | bycopy, TYPE_QUAL, RID_BYCOPY |
---|
48 | case, CASE, NORID |
---|
49 | char, TYPESPEC, RID_CHAR |
---|
50 | const, TYPE_QUAL, RID_CONST |
---|
51 | continue, CONTINUE, NORID |
---|
52 | default, DEFAULT, NORID |
---|
53 | do, DO, NORID |
---|
54 | double, TYPESPEC, RID_DOUBLE |
---|
55 | else, ELSE, NORID |
---|
56 | enum, ENUM, NORID |
---|
57 | extern, SCSPEC, RID_EXTERN |
---|
58 | float, TYPESPEC, RID_FLOAT |
---|
59 | for, FOR, NORID |
---|
60 | goto, GOTO, NORID |
---|
61 | id, OBJECTNAME, RID_ID |
---|
62 | if, IF, NORID |
---|
63 | in, TYPE_QUAL, RID_IN |
---|
64 | inout, TYPE_QUAL, RID_INOUT |
---|
65 | inline, SCSPEC, RID_INLINE |
---|
66 | int, TYPESPEC, RID_INT |
---|
67 | long, TYPESPEC, RID_LONG |
---|
68 | oneway, TYPE_QUAL, RID_ONEWAY |
---|
69 | out, TYPE_QUAL, RID_OUT |
---|
70 | register, SCSPEC, RID_REGISTER |
---|
71 | return, RETURN, NORID |
---|
72 | short, TYPESPEC, RID_SHORT |
---|
73 | signed, TYPESPEC, RID_SIGNED |
---|
74 | sizeof, SIZEOF, NORID |
---|
75 | static, SCSPEC, RID_STATIC |
---|
76 | struct, STRUCT, NORID |
---|
77 | switch, SWITCH, NORID |
---|
78 | typedef, SCSPEC, RID_TYPEDEF |
---|
79 | typeof, TYPEOF, NORID |
---|
80 | union, UNION, NORID |
---|
81 | unsigned, TYPESPEC, RID_UNSIGNED |
---|
82 | void, TYPESPEC, RID_VOID |
---|
83 | volatile, TYPE_QUAL, RID_VOLATILE |
---|
84 | while, WHILE, NORID |
---|