mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 12:09:41 +08:00
parse.y (block_end:): If the collected block doesn't feature a statement, insert an empty statement.
Thu Apr 27 17:25:33 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse.y (block_end:): If the collected block doesn't feature a statement, insert an empty statement. From-SVN: r34038
This commit is contained in:
parent
51891abe62
commit
c280e37af4
@ -1,3 +1,8 @@
|
||||
Thu Apr 27 17:25:33 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* parse.y (block_end:): If the collected block doesn't feature a
|
||||
statement, insert an empty statement.
|
||||
|
||||
2000-04-17 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* parse.y (fold_constant_for_init): Let VAR_DECL and FIELD_DECL be
|
||||
|
640
gcc/java/parse.c
640
gcc/java/parse.c
File diff suppressed because it is too large
Load Diff
@ -1326,6 +1326,8 @@ block_end:
|
||||
DECL_END_SOURCE_LINE (current_function_decl) =
|
||||
EXPR_WFL_ADD_COL ($1.location, 1);
|
||||
$$ = exit_block ();
|
||||
if (!BLOCK_SUBBLOCKS ($$))
|
||||
BLOCK_SUBBLOCKS ($$) = empty_stmt_node;
|
||||
}
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user