diff options
author | Martin v. Löwis <loewis@informatik.hu-berlin.de> | 2000-04-10 07:43:45 +0000 |
---|---|---|
committer | Martin v. Löwis <loewis@gcc.gnu.org> | 2000-04-10 07:43:45 +0000 |
commit | dd235713371c11a7f58c11aea2f279486d46b4e2 (patch) | |
tree | c815cbd5c092a2c28e9c34c48fead99ddc5d8640 /gcc/cp | |
parent | 144af36dbeaa71da4c6ae776457aa9e769d37b22 (diff) | |
download | gcc-dd235713371c11a7f58c11aea2f279486d46b4e2.zip gcc-dd235713371c11a7f58c11aea2f279486d46b4e2.tar.gz gcc-dd235713371c11a7f58c11aea2f279486d46b4e2.tar.bz2 |
invoke.texi (-fno-gnu-keywords): Remove classof, headof, __classof__, and __headof__ from the list of gnu keywords.
* invoke.texi (-fno-gnu-keywords): Remove classof, headof,
__classof__, and __headof__ from the list of gnu keywords.
* cp/lex.c (init_parse): Remove traces of classof and headof.
From-SVN: r33049
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/lex.c | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5676065..e47edb1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de> + + * lex.c (init_parse): Remove traces of classof and headof. + 2000-04-09 Mark Mitchell <mark@codesourcery.com> * cp-tree.h (struct lang_decl): Remove main_decl_variant. diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index 1c4bb57..a5d1269 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -894,12 +894,6 @@ init_parse (filename) } #endif - if (!flag_rtti || flag_no_gnu_keywords) - { - UNSET_RESERVED_WORD ("classof"); - UNSET_RESERVED_WORD ("headof"); - } - if (flag_no_asm || flag_no_gnu_keywords) UNSET_RESERVED_WORD ("typeof"); if (! flag_operator_names) |