diff options
author | Tom Tromey <tromey@redhat.com> | 2003-03-25 17:00:47 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2003-03-25 17:00:47 +0000 |
commit | dcb0eee2a208c8283d8ae7dc59747664b33efcce (patch) | |
tree | 1b94675ce1cf2c372cda576b9ab46bfdfcc4ac25 /gcc/java | |
parent | d6d05f8d8082eb5813fec0284ee6a723d85233ea (diff) | |
download | gcc-dcb0eee2a208c8283d8ae7dc59747664b33efcce.zip gcc-dcb0eee2a208c8283d8ae7dc59747664b33efcce.tar.gz gcc-dcb0eee2a208c8283d8ae7dc59747664b33efcce.tar.bz2 |
* parse.y (create_interface): Call CHECK_DEPRECATED.
From-SVN: r64852
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/parse.y | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 2af38be..9816073 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2003-03-25 Tom Tromey <tromey@redhat.com> + + * parse.y (create_interface): Call CHECK_DEPRECATED. + 2003-03-23 Zack Weinberg <zack@codesourcery.com> * Make-lang.in: Link jcf-dump against $(LDEXP_LIB). diff --git a/gcc/java/parse.y b/gcc/java/parse.y index b8abc0e..2b2536d 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -3831,6 +3831,9 @@ create_interface (int flags, tree id, tree super) CLASS_COMPLETE_P (decl) = 1; add_superinterfaces (decl, super); + /* Eventually sets the @deprecated tag flag */ + CHECK_DEPRECATED (decl); + return decl; } |