diff options
-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; } |