aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-gperf.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-gperf.h')
-rw-r--r--gcc/c-gperf.h230
1 files changed, 111 insertions, 119 deletions
diff --git a/gcc/c-gperf.h b/gcc/c-gperf.h
index 41b8d0f..7ee5060 100644
--- a/gcc/c-gperf.h
+++ b/gcc/c-gperf.h
@@ -1,14 +1,14 @@
/* KR-C code produced by gperf version 2.7.1 (19981006 egcs) */
-/* Command-line: gperf -L KR-C -F , 0, 0 -p -j1 -i 1 -g -o -t -G -N is_reserved_word -k1,3,$ /hurl/puke/law/egcs/egcs/gcc/c-parse.gperf */
+/* Command-line: gperf -L KR-C -F , 0, 0 -p -j1 -i 1 -g -o -t -G -N is_reserved_word -k1,3,$ ../../gcc/c-parse.gperf */
/* Command-line: gperf -L KR-C -F ', 0, 0' -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; };
-#define TOTAL_KEYWORDS 80
+#define TOTAL_KEYWORDS 83
#define MIN_WORD_LENGTH 2
#define MAX_WORD_LENGTH 20
-#define MIN_HASH_VALUE 10
-#define MAX_HASH_VALUE 162
-/* maximum key range = 153, duplicates = 0 */
+#define MIN_HASH_VALUE 8
+#define MAX_HASH_VALUE 141
+/* maximum key range = 134, duplicates = 0 */
#ifdef __GNUC__
__inline
@@ -20,32 +20,32 @@ hash (str, len)
{
static unsigned char asso_values[] =
{
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 8, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 1, 163, 24, 8, 61,
- 37, 6, 47, 49, 2, 5, 163, 3, 51, 30,
- 58, 91, 35, 163, 33, 13, 1, 18, 49, 2,
- 2, 5, 3, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
- 163, 163, 163, 163, 163, 163
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 35, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 1, 142, 90, 1, 28,
+ 40, 6, 1, 24, 3, 13, 142, 36, 60, 14,
+ 49, 3, 6, 142, 19, 8, 1, 50, 33, 11,
+ 2, 23, 4, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142,
+ 142, 142, 142, 142, 142, 142
};
register int hval = len;
@@ -64,120 +64,112 @@ hash (str, len)
static struct resword wordlist[] =
{
- {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
+ {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
+ {"out", TYPE_QUAL, RID_OUT},
{"", 0, 0},
- {"int", TYPESPEC, RID_INT},
- {"", 0, 0}, {"", 0, 0},
- {"__typeof__", TYPEOF, NORID},
+ {"float", TYPESPEC, RID_FLOAT},
+ {"__typeof", TYPEOF, NORID},
{"", 0, 0},
+ {"__typeof__", TYPEOF, NORID},
+ {"typeof", TYPEOF, NORID},
+ {"typedef", SCSPEC, RID_TYPEDEF},
+ {"if", IF, NORID},
+ {"short", TYPESPEC, RID_SHORT},
+ {"int", TYPESPEC, RID_INT},
+ {"sizeof", SIZEOF, NORID},
+ {"__signed__", TYPESPEC, RID_SIGNED},
+ {"__extension__", EXTENSION, NORID},
+ {"inout", TYPE_QUAL, RID_INOUT},
{"__imag__", IMAGPART, NORID},
- {"", 0, 0},
+ {"else", ELSE, NORID},
{"__inline__", SCSPEC, RID_INLINE},
- {"while", WHILE, NORID},
+ {"byref", TYPE_QUAL, RID_BYREF},
{"__iterator__", SCSPEC, RID_ITERATOR},
{"__inline", SCSPEC, RID_INLINE},
- {"__extension__", EXTENSION, NORID},
- {"break", BREAK, NORID},
- {"", 0, 0}, {"", 0, 0},
- {"__signed__", TYPESPEC, RID_SIGNED},
- {"switch", SWITCH, NORID},
- {"", 0, 0}, {"", 0, 0},
- {"else", ELSE, NORID},
- {"", 0, 0}, {"", 0, 0},
- {"@defs", DEFS, NORID},
- {"__asm__", ASM_KEYWORD, NORID},
- {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
- {"__alignof__", ALIGNOF, NORID},
- {"", 0, 0},
- {"__attribute__", ATTRIBUTE, NORID},
- {"", 0, 0}, {"", 0, 0},
- {"__attribute", ATTRIBUTE, NORID},
{"__real__", REALPART, NORID},
- {"id", OBJECTNAME, RID_ID},
- {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
- {"__iterator", SCSPEC, RID_ITERATOR},
- {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
+ {"switch", SWITCH, NORID},
+ {"__restrict", TYPE_QUAL, RID_RESTRICT},
+ {"goto", GOTO, NORID},
+ {"__restrict__", TYPE_QUAL, RID_RESTRICT},
{"struct", STRUCT, NORID},
- {"if", IF, NORID},
- {"@private", PRIVATE, NORID},
- {"@selector", SELECTOR, NORID},
- {"__typeof", TYPEOF, NORID},
- {"enum", ENUM, NORID},
- {"__signed", TYPESPEC, RID_SIGNED},
- {"__asm", ASM_KEYWORD, NORID},
- {"__imag", IMAGPART, NORID},
- {"__label__", LABEL, NORID},
- {"__volatile__", TYPE_QUAL, RID_VOLATILE},
- {"", 0, 0},
- {"in", TYPE_QUAL, RID_IN},
- {"__volatile", TYPE_QUAL, RID_VOLATILE},
- {"double", TYPESPEC, RID_DOUBLE},
- {"inline", SCSPEC, RID_INLINE},
- {"sizeof", SIZEOF, NORID},
+ {"while", WHILE, NORID},
+ {"restrict", TYPE_QUAL, RID_RESTRICT},
{"__const", TYPE_QUAL, RID_CONST},
- {"extern", SCSPEC, RID_EXTERN},
+ {"oneway", TYPE_QUAL, RID_ONEWAY},
{"__const__", TYPE_QUAL, RID_CONST},
{"__complex", TYPESPEC, RID_COMPLEX},
{"__complex__", TYPESPEC, RID_COMPLEX},
+ {"for", FOR, NORID},
+ {"__iterator", SCSPEC, RID_ITERATOR},
+ {"__imag", IMAGPART, NORID},
+ {"do", DO, NORID},
+ {"case", CASE, NORID},
+ {"__volatile__", TYPE_QUAL, RID_VOLATILE},
+ {"break", BREAK, NORID},
+ {"default", DEFAULT, NORID},
+ {"__volatile", TYPE_QUAL, RID_VOLATILE},
+ {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
+ {"@defs", DEFS, NORID},
+ {"id", OBJECTNAME, RID_ID},
{"", 0, 0},
- {"unsigned", TYPESPEC, RID_UNSIGNED},
- {"", 0, 0},
- {"@class", CLASS, NORID},
- {"@encode", ENCODE, NORID},
+ {"__signed", TYPESPEC, RID_SIGNED},
{"bycopy", TYPE_QUAL, RID_BYCOPY},
- {"__alignof", ALIGNOF, NORID},
- {"@interface", INTERFACE, NORID},
+ {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
+ {"extern", SCSPEC, RID_EXTERN},
{"", 0, 0},
- {"case", CASE, NORID},
+ {"in", TYPE_QUAL, RID_IN},
{"", 0, 0},
- {"union", UNION, NORID},
- {"asm", ASM_KEYWORD, NORID},
- {"@protected", PROTECTED, NORID},
- {"typeof", TYPEOF, NORID},
- {"typedef", SCSPEC, RID_TYPEDEF},
- {"__real", REALPART, NORID},
- {"default", DEFAULT, NORID},
- {"byref", TYPE_QUAL, RID_BYREF},
- {"@public", PUBLIC, NORID},
- {"void", TYPESPEC, RID_VOID},
- {"out", TYPE_QUAL, RID_OUT},
+ {"@compatibility_alias", ALIAS, NORID},
{"", 0, 0},
+ {"@private", PRIVATE, NORID},
+ {"@selector", SELECTOR, NORID},
+ {"register", SCSPEC, RID_REGISTER},
+ {"__label__", LABEL, NORID},
+ {"", 0, 0}, {"", 0, 0},
+ {"enum", ENUM, NORID},
{"return", RETURN, NORID},
{"", 0, 0}, {"", 0, 0},
- {"@protocol", PROTOCOL, NORID},
- {"inout", TYPE_QUAL, RID_INOUT},
- {"", 0, 0},
- {"static", SCSPEC, RID_STATIC},
{"signed", TYPESPEC, RID_SIGNED},
+ {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
+ {"const", TYPE_QUAL, RID_CONST},
{"", 0, 0},
- {"@end", END, NORID},
- {"oneway", TYPE_QUAL, RID_ONEWAY},
- {"", 0, 0},
- {"short", TYPESPEC, RID_SHORT},
+ {"inline", SCSPEC, RID_INLINE},
+ {"__real", REALPART, NORID},
+ {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
+ {"void", TYPESPEC, RID_VOID},
+ {"continue", CONTINUE, NORID},
+ {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
+ {"@encode", ENCODE, NORID},
+ {"auto", SCSPEC, RID_AUTO},
+ {"__asm__", ASM_KEYWORD, NORID},
+ {"@interface", INTERFACE, NORID},
+ {"__alignof", ALIGNOF, NORID},
+ {"double", TYPESPEC, RID_DOUBLE},
+ {"__alignof__", ALIGNOF, NORID},
+ {"@protected", PROTECTED, NORID},
+ {"__attribute__", ATTRIBUTE, NORID},
+ {"unsigned", TYPESPEC, RID_UNSIGNED},
+ {"volatile", TYPE_QUAL, RID_VOLATILE},
+ {"__attribute", ATTRIBUTE, NORID},
+ {"@class", CLASS, NORID},
+ {"__asm", ASM_KEYWORD, NORID},
+ {"", 0, 0}, {"", 0, 0},
{"@implementation", IMPLEMENTATION, NORID},
+ {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
+ {"union", UNION, NORID},
{"", 0, 0}, {"", 0, 0},
- {"volatile", TYPE_QUAL, RID_VOLATILE},
+ {"@public", PUBLIC, NORID},
+ {"asm", ASM_KEYWORD, NORID},
{"", 0, 0},
- {"for", FOR, NORID},
+ {"@protocol", PROTOCOL, NORID},
+ {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
+ {"@end", END, NORID},
{"", 0, 0}, {"", 0, 0}, {"", 0, 0},
- {"auto", SCSPEC, RID_AUTO},
- {"", 0, 0},
- {"char", TYPESPEC, RID_CHAR},
- {"register", SCSPEC, RID_REGISTER},
- {"", 0, 0},
- {"const", TYPE_QUAL, RID_CONST},
+ {"static", SCSPEC, RID_STATIC},
{"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
- {"do", DO, NORID},
- {"", 0, 0},
- {"@compatibility_alias", ALIAS, NORID},
- {"continue", CONTINUE, NORID},
- {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
- {"", 0, 0},
- {"float", TYPESPEC, RID_FLOAT},
- {"goto", GOTO, NORID},
- {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
- {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
- {"long", TYPESPEC, RID_LONG}
+ {"long", TYPESPEC, RID_LONG},
+ {"", 0, 0}, {"", 0, 0}, {"", 0, 0},
+ {"char", TYPESPEC, RID_CHAR}
};
#ifdef __GNUC__