mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 15:38:06 +01:00
a4cd5630b0
non-i386, non-unix, and generatable files have been trimmed, but can easily be added in later if needed. gcc-2.7.2.1 will follow shortly, it's a very small delta to this and it's handy to have both available for reference for such little cost. The freebsd-specific changes will then be committed, and once the dust has settled, the bmakefiles will be committed to use this code.
85 lines
2.2 KiB
Plaintext
85 lines
2.2 KiB
Plaintext
%{
|
|
/* 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; };
|
|
%%
|
|
@class, CLASS, NORID
|
|
@compatibility_alias, ALIAS, NORID
|
|
@defs, DEFS, NORID
|
|
@encode, ENCODE, NORID
|
|
@end, END, NORID
|
|
@implementation, IMPLEMENTATION, NORID
|
|
@interface, INTERFACE, NORID
|
|
@private, PRIVATE, NORID
|
|
@protected, PROTECTED, NORID
|
|
@protocol, PROTOCOL, NORID
|
|
@public, PUBLIC, NORID
|
|
@selector, SELECTOR, NORID
|
|
__alignof, ALIGNOF, NORID
|
|
__alignof__, ALIGNOF, NORID
|
|
__asm, ASM_KEYWORD, NORID
|
|
__asm__, ASM_KEYWORD, NORID
|
|
__attribute, ATTRIBUTE, NORID
|
|
__attribute__, ATTRIBUTE, NORID
|
|
__complex, TYPESPEC, RID_COMPLEX
|
|
__complex__, TYPESPEC, RID_COMPLEX
|
|
__const, TYPE_QUAL, RID_CONST
|
|
__const__, TYPE_QUAL, RID_CONST
|
|
__extension__, EXTENSION, NORID
|
|
__imag, IMAGPART, NORID
|
|
__imag__, IMAGPART, NORID
|
|
__inline, SCSPEC, RID_INLINE
|
|
__inline__, SCSPEC, RID_INLINE
|
|
__iterator, SCSPEC, RID_ITERATOR
|
|
__iterator__, SCSPEC, RID_ITERATOR
|
|
__label__, LABEL, NORID
|
|
__real, REALPART, NORID
|
|
__real__, REALPART, 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_KEYWORD, NORID
|
|
auto, SCSPEC, RID_AUTO
|
|
break, BREAK, NORID
|
|
bycopy, TYPE_QUAL, RID_BYCOPY
|
|
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
|
|
id, OBJECTNAME, RID_ID
|
|
if, IF, NORID
|
|
in, TYPE_QUAL, RID_IN
|
|
inout, TYPE_QUAL, RID_INOUT
|
|
inline, SCSPEC, RID_INLINE
|
|
int, TYPESPEC, RID_INT
|
|
long, TYPESPEC, RID_LONG
|
|
oneway, TYPE_QUAL, RID_ONEWAY
|
|
out, TYPE_QUAL, RID_OUT
|
|
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
|