Initial revision
From-SVN: r12
This commit is contained in:
parent
53cb99ef98
commit
3108c805c6
58
gcc/c-parse.gperf
Normal file
58
gcc/c-parse.gperf
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
%{
|
||||||
|
/* Command-line: gperf -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */
|
||||||
|
%}
|
||||||
|
struct resword { char *name; short token; enum rid rid; };
|
||||||
|
%%
|
||||||
|
__alignof, ALIGNOF, NORID
|
||||||
|
__alignof__, ALIGNOF, NORID
|
||||||
|
__asm, ASM, NORID
|
||||||
|
__asm__, ASM, NORID
|
||||||
|
__attribute, ATTRIBUTE, NORID
|
||||||
|
__attribute__, ATTRIBUTE, NORID
|
||||||
|
__const, TYPE_QUAL, RID_CONST
|
||||||
|
__const__, TYPE_QUAL, RID_CONST
|
||||||
|
__extension__, EXTENSION, NORID
|
||||||
|
__inline, SCSPEC, RID_INLINE
|
||||||
|
__inline__, SCSPEC, RID_INLINE
|
||||||
|
__label__, LABEL, NORID
|
||||||
|
__signed, TYPESPEC, RID_SIGNED
|
||||||
|
__signed__, TYPESPEC, RID_SIGNED
|
||||||
|
__typeof, TYPEOF, NORID
|
||||||
|
__typeof__, TYPEOF, NORID
|
||||||
|
__volatile, TYPE_QUAL, RID_VOLATILE
|
||||||
|
__volatile__, TYPE_QUAL, RID_VOLATILE
|
||||||
|
asm, ASM, NORID
|
||||||
|
auto, SCSPEC, RID_AUTO
|
||||||
|
break, BREAK, NORID
|
||||||
|
case, CASE, NORID
|
||||||
|
char, TYPESPEC, RID_CHAR
|
||||||
|
const, TYPE_QUAL, RID_CONST
|
||||||
|
continue, CONTINUE, NORID
|
||||||
|
default, DEFAULT, NORID
|
||||||
|
do, DO, NORID
|
||||||
|
double, TYPESPEC, RID_DOUBLE
|
||||||
|
else, ELSE, NORID
|
||||||
|
enum, ENUM, NORID
|
||||||
|
extern, SCSPEC, RID_EXTERN
|
||||||
|
float, TYPESPEC, RID_FLOAT
|
||||||
|
for, FOR, NORID
|
||||||
|
goto, GOTO, NORID
|
||||||
|
if, IF, NORID
|
||||||
|
inline, SCSPEC, RID_INLINE
|
||||||
|
int, TYPESPEC, RID_INT
|
||||||
|
long, TYPESPEC, RID_LONG
|
||||||
|
register, SCSPEC, RID_REGISTER
|
||||||
|
return, RETURN, NORID
|
||||||
|
short, TYPESPEC, RID_SHORT
|
||||||
|
signed, TYPESPEC, RID_SIGNED
|
||||||
|
sizeof, SIZEOF, NORID
|
||||||
|
static, SCSPEC, RID_STATIC
|
||||||
|
struct, STRUCT, NORID
|
||||||
|
switch, SWITCH, NORID
|
||||||
|
typedef, SCSPEC, RID_TYPEDEF
|
||||||
|
typeof, TYPEOF, NORID
|
||||||
|
union, UNION, NORID
|
||||||
|
unsigned, TYPESPEC, RID_UNSIGNED
|
||||||
|
void, TYPESPEC, RID_VOID
|
||||||
|
volatile, TYPE_QUAL, RID_VOLATILE
|
||||||
|
while, WHILE, NORID
|
Loading…
Reference in New Issue
Block a user