diff options
author | peter <peter@FreeBSD.org> | 1996-09-18 05:35:50 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-09-18 05:35:50 +0000 |
commit | d4691e641ba47cb86eef80f5c879e13f9d961724 (patch) | |
tree | 5b7ea73fc49c8998d9dc87d3eeff5b96439e6856 /contrib/gcc/cp/gxx.gperf | |
download | FreeBSD-src-d4691e641ba47cb86eef80f5c879e13f9d961724.zip FreeBSD-src-d4691e641ba47cb86eef80f5c879e13f9d961724.tar.gz |
Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the
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.
Diffstat (limited to 'contrib/gcc/cp/gxx.gperf')
-rw-r--r-- | contrib/gcc/cp/gxx.gperf | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/contrib/gcc/cp/gxx.gperf b/contrib/gcc/cp/gxx.gperf new file mode 100644 index 0000000..e5465e8 --- /dev/null +++ b/contrib/gcc/cp/gxx.gperf @@ -0,0 +1,102 @@ +%{ +/* Command-line: gperf -p -j1 -g -o -t -N is_reserved_word -k1,4,$,7 gplus.gperf */ +%} +struct resword { char *name; short token; enum rid rid;}; +%% +__alignof, ALIGNOF, NORID +__alignof__, ALIGNOF, NORID +__asm, GCC_ASM_KEYWORD, NORID +__asm__, GCC_ASM_KEYWORD, 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 +__signature__, AGGR, RID_SIGNATURE /* Extension */, +__signed, TYPESPEC, RID_SIGNED +__signed__, TYPESPEC, RID_SIGNED +__sigof__, SIGOF, NORID /* Extension */, +__typeof, TYPEOF, NORID +__typeof__, TYPEOF, NORID +__volatile, TYPE_QUAL, RID_VOLATILE +__volatile__, TYPE_QUAL, RID_VOLATILE +__wchar_t, TYPESPEC, RID_WCHAR /* Unique to ANSI C++ */, +asm, ASM_KEYWORD, NORID, +and, ANDAND, NORID, +and_eq, ASSIGN, NORID, +auto, SCSPEC, RID_AUTO, +bitand, '&', NORID, +bitor, '|', NORID, +bool, TYPESPEC, RID_BOOL, +break, BREAK, NORID, +case, CASE, NORID, +catch, CATCH, NORID, +char, TYPESPEC, RID_CHAR, +class, AGGR, RID_CLASS, +compl, '~', NORID, +const, TYPE_QUAL, RID_CONST, +const_cast, CONST_CAST, NORID, +continue, CONTINUE, NORID, +default, DEFAULT, NORID, +delete, DELETE, NORID, +do, DO, NORID, +double, TYPESPEC, RID_DOUBLE, +dynamic_cast, DYNAMIC_CAST, NORID, +else, ELSE, NORID, +enum, ENUM, NORID, +explicit, SCSPEC, RID_EXPLICIT, +extern, SCSPEC, RID_EXTERN, +false, CXX_FALSE, NORID, +float, TYPESPEC, RID_FLOAT, +for, FOR, NORID, +friend, SCSPEC, RID_FRIEND, +goto, GOTO, NORID, +if, IF, NORID, +inline, SCSPEC, RID_INLINE, +int, TYPESPEC, RID_INT, +long, TYPESPEC, RID_LONG, +mutable, SCSPEC, RID_MUTABLE, +namespace, NAMESPACE, NORID, +new, NEW, NORID, +not, '!', NORID, +not_eq, EQCOMPARE, NORID, +operator, OPERATOR, NORID, +or, OROR, NORID, +or_eq, ASSIGN, NORID, +overload, OVERLOAD, NORID, +private, VISSPEC, RID_PRIVATE, +protected, VISSPEC, RID_PROTECTED, +public, VISSPEC, RID_PUBLIC, +register, SCSPEC, RID_REGISTER, +reinterpret_cast, REINTERPRET_CAST, NORID, +return, RETURN, NORID, +short, TYPESPEC, RID_SHORT, +signature, AGGR, RID_SIGNATURE /* Extension */, +signed, TYPESPEC, RID_SIGNED, +sigof, SIGOF, NORID /* Extension */, +sizeof, SIZEOF, NORID, +static, SCSPEC, RID_STATIC, +static_cast, STATIC_CAST, NORID, +struct, AGGR, RID_RECORD, +switch, SWITCH, NORID, +template, TEMPLATE, RID_TEMPLATE, +this, THIS, NORID, +throw, THROW, NORID, +true, CXX_TRUE, NORID, +try, TRY, NORID, +typedef, SCSPEC, RID_TYPEDEF, +typename, TYPENAME_KEYWORD, NORID, +typeid, TYPEID, NORID, +typeof, TYPEOF, NORID, +union, AGGR, RID_UNION, +unsigned, TYPESPEC, RID_UNSIGNED, +using, USING, NORID, +virtual, SCSPEC, RID_VIRTUAL, +void, TYPESPEC, RID_VOID, +volatile, TYPE_QUAL, RID_VOLATILE, +while, WHILE, NORID, +xor, '^', NORID, +xor_eq, ASSIGN, NORID, |