diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-07 09:50:45 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-07 09:50:45 +0000 |
commit | 3af1ad210c55735fb0ffdaf87afdd173313b0306 (patch) | |
tree | 80c3e8f8a7bb27dedac2efb1a39791d086f4c662 /gcc | |
parent | 7665c3764e7c185884ef4cfb01a2225d1c04a17b (diff) | |
download | ppe42-gcc-3af1ad210c55735fb0ffdaf87afdd173313b0306.tar.gz ppe42-gcc-3af1ad210c55735fb0ffdaf87afdd173313b0306.zip |
Warning fixes:
* Makefile.in (hash.h): Add -L KR-C -F ', 0, 0' flags to gperf.
(gxx.gperf): Update comments describing invocation flags.
(hash.h): Regenerate using gperf 2.7.1 (19981006 egcs).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22888 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cp/Makefile.in | 4 | ||||
-rw-r--r-- | gcc/cp/gxx.gperf | 2 | ||||
-rw-r--r-- | gcc/cp/hash.h | 364 |
4 files changed, 198 insertions, 178 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index fc4ce6230e2..c7b1ed806dd 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +Wed Oct 7 12:32:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * Makefile.in (hash.h): Add -L KR-C -F ', 0, 0' flags to gperf. + (gxx.gperf): Update comments describing invocation flags. + (hash.h): Regenerate using gperf 2.7.1 (19981006 egcs). + 1998-10-07 Mark Mitchell <mark@markmitchell.com> * class.c (finish_struct_1): Add commentary on prevous change. diff --git a/gcc/cp/Makefile.in b/gcc/cp/Makefile.in index 8c863ab9591..d9e32402d39 100644 --- a/gcc/cp/Makefile.in +++ b/gcc/cp/Makefile.in @@ -240,8 +240,8 @@ $(PARSE_C) : $(srcdir)/parse.y # if gxx.gpref got touched, say. # Thus you have to remove hash.h to force it to be re-made. $(srcdir)/hash.h: - gperf -p -j1 -g -o -t -N is_reserved_word '-k1,4,7,$$' \ - $(srcdir)/gxx.gperf >$(srcdir)/hash.h + gperf -L KR-C -F ', 0, 0' -p -j1 -g -o -t -N is_reserved_word \ + '-k1,4,7,$$' $(srcdir)/gxx.gperf >$(srcdir)/hash.h spew.o : spew.c $(CONFIG_H) $(CXX_TREE_H) $(PARSE_H) $(srcdir)/../flags.h \ lex.h $(srcdir)/../system.h $(srcdir)/../toplev.h diff --git a/gcc/cp/gxx.gperf b/gcc/cp/gxx.gperf index d0ce7ac2437..868dfc426f0 100644 --- a/gcc/cp/gxx.gperf +++ b/gcc/cp/gxx.gperf @@ -1,5 +1,5 @@ %{ -/* Command-line: gperf -p -j1 -g -o -t -N is_reserved_word -k1,4,$,7 gplus.gperf */ +/* Command-line: gperf -L KR-C -F ', 0, 0' -p -j1 -g -o -t -N is_reserved_word -k1,4,$,7 gplus.gperf */ %} struct resword { char *name; short token; enum rid rid;}; %% diff --git a/gcc/cp/hash.h b/gcc/cp/hash.h index 3d4200e84c3..21ebdd7901e 100644 --- a/gcc/cp/hash.h +++ b/gcc/cp/hash.h @@ -1,6 +1,6 @@ -/* C code produced by gperf version 2.5 (GNU C++ version) */ -/* Command-line: gperf -p -j1 -g -o -t -N is_reserved_word -k1,4,7,$ /home/bkoz/src.egcs/gcc/cp/gxx.gperf */ -/* Command-line: gperf -p -j1 -g -o -t -N is_reserved_word -k1,4,$,7 gplus.gperf */ +/* KR-C code produced by gperf version 2.7.1 (19981006 egcs) */ +/* Command-line: gperf -L KR-C -F , 0, 0 -p -j1 -g -o -t -N is_reserved_word -k1,4,7,$ ./gxx.gperf */ +/* Command-line: gperf -L KR-C -F ', 0, 0' -p -j1 -g -o -t -N is_reserved_word -k1,4,$,7 gplus.gperf */ struct resword { char *name; short token; enum rid rid;}; #define TOTAL_KEYWORDS 104 @@ -11,28 +11,41 @@ struct resword { char *name; short token; enum rid rid;}; /* maximum key range = 258, duplicates = 0 */ #ifdef __GNUC__ -inline +__inline #endif static unsigned int hash (str, len) register char *str; - register int unsigned len; + register unsigned int len; { static unsigned short asso_values[] = { - 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, - 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, - 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, - 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, - 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, - 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, - 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, - 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, - 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, - 262, 262, 262, 262, 262, 0, 262, 87, 25, 96, - 60, 0, 55, 7, 4, 41, 262, 2, 15, 49, - 14, 63, 32, 29, 3, 23, 6, 8, 2, 2, - 0, 7, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 0, 262, 87, 25, 96, + 60, 0, 55, 7, 4, 41, 262, 2, 15, 49, + 14, 63, 32, 29, 3, 23, 6, 8, 2, 2, + 0, 7, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262, 262, 262, 262, 262, + 262, 262, 262, 262, 262, 262 }; register int hval = len; @@ -40,22 +53,22 @@ hash (str, len) { default: case 7: - hval += asso_values[str[6]]; + hval += asso_values[(unsigned char)str[6]]; case 6: case 5: case 4: - hval += asso_values[str[3]]; + hval += asso_values[(unsigned char)str[3]]; case 3: case 2: case 1: - hval += asso_values[str[0]]; + hval += asso_values[(unsigned char)str[0]]; break; } - return hval + asso_values[str[len - 1]]; + return hval + asso_values[(unsigned char)str[len - 1]]; } #ifdef __GNUC__ -inline +__inline #endif struct resword * is_reserved_word (str, len) @@ -64,157 +77,158 @@ is_reserved_word (str, len) { static struct resword wordlist[] = { - {"",}, {"",}, {"",}, {"",}, - {"else", ELSE, NORID,}, - {"",}, - {"xor", '^', NORID,}, - {"",}, - {"__real__", REALPART, NORID}, - {"",}, - {"true", CXX_TRUE, NORID,}, - {"",}, {"",}, {"",}, {"",}, {"",}, - {"try", TRY, NORID,}, - {"",}, {"",}, - {"new", NEW, NORID,}, - {"extern", SCSPEC, RID_EXTERN,}, - {"__real", REALPART, NORID}, - {"while", WHILE, NORID,}, - {"not", '!', NORID,}, - {"",}, {"",}, {"",}, - {"__extension__", EXTENSION, NORID}, - {"",}, - {"__null", CONSTANT, RID_NULL}, - {"__asm__", ASM_KEYWORD, NORID}, - {"return", RETURN, NORID,}, - {"",}, - {"long", TYPESPEC, RID_LONG,}, - {"using", USING, NORID,}, - {"xor_eq", ASSIGN, NORID,}, - {"__inline", SCSPEC, RID_INLINE}, - {"short", TYPESPEC, RID_SHORT,}, - {"__inline__", SCSPEC, RID_INLINE}, - {"switch", SWITCH, NORID,}, - {"__alignof__", ALIGNOF, NORID}, - {"private", VISSPEC, RID_PRIVATE,}, - {"reinterpret_cast", REINTERPRET_CAST, NORID,}, - {"struct", AGGR, RID_RECORD,}, - {"",}, - {"virtual", SCSPEC, RID_VIRTUAL,}, - {"static_cast", STATIC_CAST, NORID,}, - {"",}, {"",}, - {"not_eq", EQCOMPARE, NORID,}, - {"int", TYPESPEC, RID_INT,}, - {"__signed__", TYPESPEC, RID_SIGNED}, - {"template", TEMPLATE, RID_TEMPLATE,}, - {"",}, - {"signature", AGGR, RID_SIGNATURE /* Extension */,}, - {"register", SCSPEC, RID_REGISTER,}, - {"this", THIS, NORID,}, - {"__imag__", IMAGPART, NORID}, - {"__attribute", ATTRIBUTE, NORID}, - {"bool", TYPESPEC, RID_BOOL,}, - {"__attribute__", ATTRIBUTE, NORID}, - {"for", FOR, NORID,}, - {"__imag", IMAGPART, NORID}, - {"typename", TYPENAME_KEYWORD, NORID,}, - {"",}, {"",}, - {"delete", DELETE, NORID,}, - {"typeof", TYPEOF, NORID,}, - {"or", OROR, NORID,}, - {"",}, - {"explicit", SCSPEC, RID_EXPLICIT,}, - {"",}, - {"typeid", TYPEID, NORID,}, - {"",}, {"",}, - {"export", SCSPEC, RID_EXPORT,}, - {"throw", THROW, NORID,}, - {"__asm", ASM_KEYWORD, NORID}, - {"__const__", CV_QUALIFIER, RID_CONST}, - {"__volatile", CV_QUALIFIER, RID_VOLATILE}, - {"__typeof__", TYPEOF, NORID}, - {"__volatile__", CV_QUALIFIER, RID_VOLATILE}, - {"__const", CV_QUALIFIER, RID_CONST}, - {"false", CXX_FALSE, NORID,}, - {"sizeof", SIZEOF, NORID,}, - {"",}, {"",}, - {"__complex", TYPESPEC, RID_COMPLEX}, - {"inline", SCSPEC, RID_INLINE,}, - {"__complex__", TYPESPEC, RID_COMPLEX}, - {"union", AGGR, RID_UNION,}, - {"double", TYPESPEC, RID_DOUBLE,}, - {"",}, - {"__alignof", ALIGNOF, NORID}, - {"",}, {"",}, - {"bitor", '|', NORID,}, - {"or_eq", ASSIGN, NORID,}, - {"if", IF, NORID,}, - {"",}, - {"case", CASE, NORID,}, - {"",}, - {"enum", ENUM, NORID,}, - {"signed", TYPESPEC, RID_SIGNED,}, - {"",}, - {"__sigof__", SIGOF, NORID /* Extension */,}, - {"char", TYPESPEC, RID_CHAR,}, - {"",}, {"",}, - {"__signed", TYPESPEC, RID_SIGNED}, - {"namespace", NAMESPACE, NORID,}, - {"__label__", LABEL, NORID}, - {"volatile", CV_QUALIFIER, RID_VOLATILE,}, - {"protected", VISSPEC, RID_PROTECTED,}, - {"__wchar_t", TYPESPEC, RID_WCHAR /* Unique to ANSI C++ */,}, - {"",}, {"",}, - {"unsigned", TYPESPEC, RID_UNSIGNED,}, - {"continue", CONTINUE, NORID,}, - {"break", BREAK, NORID,}, - {"",}, - {"friend", SCSPEC, RID_FRIEND,}, - {"and_eq", ASSIGN, NORID,}, - {"typedef", SCSPEC, RID_TYPEDEF,}, - {"",}, - {"do", DO, NORID,}, - {"void", TYPESPEC, RID_VOID,}, - {"",}, {"",}, {"",}, - {"const", CV_QUALIFIER, RID_CONST,}, - {"static", SCSPEC, RID_STATIC,}, - {"",}, - {"__typeof", TYPEOF, NORID}, - {"",}, {"",}, {"",}, - {"goto", GOTO, NORID,}, - {"",}, - {"asm", ASM_KEYWORD, NORID,}, - {"operator", OPERATOR, NORID,}, - {"__signature__", AGGR, RID_SIGNATURE /* Extension */,}, - {"",}, - {"mutable", SCSPEC, RID_MUTABLE,}, - {"",}, {"",}, - {"sigof", SIGOF, NORID /* Extension */,}, - {"class", AGGR, RID_CLASS,}, - {"compl", '~', NORID,}, - {"public", VISSPEC, RID_PUBLIC,}, - {"and", ANDAND, NORID,}, - {"",}, {"",}, - {"float", TYPESPEC, RID_FLOAT,}, - {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, - {"",}, {"",}, {"",}, - {"default", DEFAULT, NORID,}, - {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, - {"",}, {"",}, - {"bitand", '&', NORID,}, - {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, - {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, - {"",}, {"",}, {"",}, {"",}, - {"catch", CATCH, NORID,}, - {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, - {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, - {"auto", SCSPEC, RID_AUTO,}, - {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, - {"",}, {"",}, {"",}, {"",}, - {"const_cast", CONST_CAST, NORID,}, - {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, - {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, - {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, - {"",}, {"",}, {"dynamic_cast", DYNAMIC_CAST, NORID,}, + {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, + {"else", ELSE, NORID,}, + {"", 0, 0}, + {"xor", '^', NORID,}, + {"", 0, 0}, + {"__real__", REALPART, NORID}, + {"", 0, 0}, + {"true", CXX_TRUE, NORID,}, + {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, + {"try", TRY, NORID,}, + {"", 0, 0}, {"", 0, 0}, + {"new", NEW, NORID,}, + {"extern", SCSPEC, RID_EXTERN,}, + {"__real", REALPART, NORID}, + {"while", WHILE, NORID,}, + {"not", '!', NORID,}, + {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, + {"__extension__", EXTENSION, NORID}, + {"", 0, 0}, + {"__null", CONSTANT, RID_NULL}, + {"__asm__", ASM_KEYWORD, NORID}, + {"return", RETURN, NORID,}, + {"", 0, 0}, + {"long", TYPESPEC, RID_LONG,}, + {"using", USING, NORID,}, + {"xor_eq", ASSIGN, NORID,}, + {"__inline", SCSPEC, RID_INLINE}, + {"short", TYPESPEC, RID_SHORT,}, + {"__inline__", SCSPEC, RID_INLINE}, + {"switch", SWITCH, NORID,}, + {"__alignof__", ALIGNOF, NORID}, + {"private", VISSPEC, RID_PRIVATE,}, + {"reinterpret_cast", REINTERPRET_CAST, NORID,}, + {"struct", AGGR, RID_RECORD,}, + {"", 0, 0}, + {"virtual", SCSPEC, RID_VIRTUAL,}, + {"static_cast", STATIC_CAST, NORID,}, + {"", 0, 0}, {"", 0, 0}, + {"not_eq", EQCOMPARE, NORID,}, + {"int", TYPESPEC, RID_INT,}, + {"__signed__", TYPESPEC, RID_SIGNED}, + {"template", TEMPLATE, RID_TEMPLATE,}, + {"", 0, 0}, + {"signature", AGGR, RID_SIGNATURE /* Extension */,}, + {"register", SCSPEC, RID_REGISTER,}, + {"this", THIS, NORID,}, + {"__imag__", IMAGPART, NORID}, + {"__attribute", ATTRIBUTE, NORID}, + {"bool", TYPESPEC, RID_BOOL,}, + {"__attribute__", ATTRIBUTE, NORID}, + {"for", FOR, NORID,}, + {"__imag", IMAGPART, NORID}, + {"typename", TYPENAME_KEYWORD, NORID,}, + {"", 0, 0}, {"", 0, 0}, + {"delete", DELETE, NORID,}, + {"typeof", TYPEOF, NORID,}, + {"or", OROR, NORID,}, + {"", 0, 0}, + {"explicit", SCSPEC, RID_EXPLICIT,}, + {"", 0, 0}, + {"typeid", TYPEID, NORID,}, + {"", 0, 0}, {"", 0, 0}, + {"export", SCSPEC, RID_EXPORT,}, + {"throw", THROW, NORID,}, + {"__asm", ASM_KEYWORD, NORID}, + {"__const__", CV_QUALIFIER, RID_CONST}, + {"__volatile", CV_QUALIFIER, RID_VOLATILE}, + {"__typeof__", TYPEOF, NORID}, + {"__volatile__", CV_QUALIFIER, RID_VOLATILE}, + {"__const", CV_QUALIFIER, RID_CONST}, + {"false", CXX_FALSE, NORID,}, + {"sizeof", SIZEOF, NORID,}, + {"", 0, 0}, {"", 0, 0}, + {"__complex", TYPESPEC, RID_COMPLEX}, + {"inline", SCSPEC, RID_INLINE,}, + {"__complex__", TYPESPEC, RID_COMPLEX}, + {"union", AGGR, RID_UNION,}, + {"double", TYPESPEC, RID_DOUBLE,}, + {"", 0, 0}, + {"__alignof", ALIGNOF, NORID}, + {"", 0, 0}, {"", 0, 0}, + {"bitor", '|', NORID,}, + {"or_eq", ASSIGN, NORID,}, + {"if", IF, NORID,}, + {"", 0, 0}, + {"case", CASE, NORID,}, + {"", 0, 0}, + {"enum", ENUM, NORID,}, + {"signed", TYPESPEC, RID_SIGNED,}, + {"", 0, 0}, + {"__sigof__", SIGOF, NORID /* Extension */,}, + {"char", TYPESPEC, RID_CHAR,}, + {"", 0, 0}, {"", 0, 0}, + {"__signed", TYPESPEC, RID_SIGNED}, + {"namespace", NAMESPACE, NORID,}, + {"__label__", LABEL, NORID}, + {"volatile", CV_QUALIFIER, RID_VOLATILE,}, + {"protected", VISSPEC, RID_PROTECTED,}, + {"__wchar_t", TYPESPEC, RID_WCHAR /* Unique to ANSI C++ */,}, + {"", 0, 0}, {"", 0, 0}, + {"unsigned", TYPESPEC, RID_UNSIGNED,}, + {"continue", CONTINUE, NORID,}, + {"break", BREAK, NORID,}, + {"", 0, 0}, + {"friend", SCSPEC, RID_FRIEND,}, + {"and_eq", ASSIGN, NORID,}, + {"typedef", SCSPEC, RID_TYPEDEF,}, + {"", 0, 0}, + {"do", DO, NORID,}, + {"void", TYPESPEC, RID_VOID,}, + {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, + {"const", CV_QUALIFIER, RID_CONST,}, + {"static", SCSPEC, RID_STATIC,}, + {"", 0, 0}, + {"__typeof", TYPEOF, NORID}, + {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, + {"goto", GOTO, NORID,}, + {"", 0, 0}, + {"asm", ASM_KEYWORD, NORID,}, + {"operator", OPERATOR, NORID,}, + {"__signature__", AGGR, RID_SIGNATURE /* Extension */,}, + {"", 0, 0}, + {"mutable", SCSPEC, RID_MUTABLE,}, + {"", 0, 0}, {"", 0, 0}, + {"sigof", SIGOF, NORID /* Extension */,}, + {"class", AGGR, RID_CLASS,}, + {"compl", '~', NORID,}, + {"public", VISSPEC, RID_PUBLIC,}, + {"and", ANDAND, NORID,}, + {"", 0, 0}, {"", 0, 0}, + {"float", TYPESPEC, RID_FLOAT,}, + {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, + {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, + {"default", DEFAULT, NORID,}, + {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, + {"", 0, 0}, {"", 0, 0}, + {"bitand", '&', 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}, {"", 0, 0}, {"", 0, 0}, + {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, {"", 0, 0}, + {"catch", CATCH, 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}, + {"auto", SCSPEC, RID_AUTO,}, + {"", 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}, + {"const_cast", CONST_CAST, 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}, {"", 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}, + {"dynamic_cast", DYNAMIC_CAST, NORID,} }; if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) @@ -225,7 +239,7 @@ is_reserved_word (str, len) { register char *s = wordlist[key].name; - if (*s == *str && !strcmp (str + 1, s + 1)) + if (*str == *s && !strcmp (str + 1, s + 1)) return &wordlist[key]; } } |