re PR java/3635 ("empty declaration" warning too broad)
authorAlexandre Petit-Bianco <apbianco@redhat.com>
Fri, 13 Jul 2001 19:43:54 +0000 (12:43 -0700)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Fri, 13 Jul 2001 19:43:54 +0000 (12:43 -0700)
commitb6e3e1ff580c11f8d95930f12560824471521175
tree1a2ea0dfc79181825aa29dc546dfd81b7294ee46
parent48ccfb4086add7f319242fe6c2ec178788dd278f
re PR java/3635 ("empty declaration" warning too broad)

2001-07-12  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_method_invocation): Don't override primary if one
is already provided, but let this$<n> be built. Fixed comment.

2001-07-12  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (empty_statement:): Report empty statement error only
when found at class declaration level.
Fixes PR java/3635

(http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00885.html )

From-SVN: r43993
gcc/java/ChangeLog
gcc/java/parse.y