diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 2000-08-24 01:44:00 +0000 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 2000-08-23 18:44:00 -0700 |
commit | 5f1c312aa06c452609c7fab1cf390dde6dfb8722 (patch) | |
tree | cd7ce89a24dfddf5ffd3d4ad167f1f4b902ed92c /libjava/java | |
parent | e15a68e7bc302166f1f90c83fe0ef64fe0d45820 (diff) | |
download | gcc-5f1c312aa06c452609c7fab1cf390dde6dfb8722.zip gcc-5f1c312aa06c452609c7fab1cf390dde6dfb8722.tar.gz gcc-5f1c312aa06c452609c7fab1cf390dde6dfb8722.tar.bz2 |
java-tree.h (flag_extraneous_semicolon): New extern.
2000-08-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
* java-tree.h (flag_extraneous_semicolon): New extern.
* lang-options.h: (-Wextraneous-semicolon): New option.
* lang.c (flag_redundant): Fixed typo in leading comment.
(flag_extraneous_semicolon): New global.
(lang_decode_option): Set `flag_extraneous_semicolon' when
-Wall. Decode `-Wextraneous-semicolon'.
* parse.y (type_declaration:): Removed `SC_TK' hack, added
`empty_statement' rule.
(class_body_declaration): Likewise.
(method_body:): Accept `;' as a method body.
(static_initializer:): Removed `SC_TK' hack.
(constructor_block_end:): Likewise.
(empty_statement:): Report deprecated empty declaration. Fixes
gcj/295
(Fix to gcj/295: http://sources.redhat.com/ml/java-prs/2000-q3/msg00095.html)
From-SVN: r35929
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions