mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-10 15:49:58 +08:00
decl.c (java_add_stmt): Give the statement list a type.
2006-08-22 Andrew Haley <aph@redhat.com> * decl.c (java_add_stmt): Give the statement list a type. From-SVN: r116324
This commit is contained in:
parent
ca8587095e
commit
182ee26047
@ -1,3 +1,7 @@
|
||||
2006-08-22 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* decl.c (java_add_stmt): Give the statement list a type.
|
||||
|
||||
2006-08-16 Jakub Jelinek <jakub@redhat.com>
|
||||
Bryce McKinlay <bryce@mckinlay.net.nz>
|
||||
|
||||
|
@ -2188,6 +2188,7 @@ java_add_stmt (tree new_stmt)
|
||||
|
||||
i = tsi_last (stmts);
|
||||
tsi_link_after (&i, new_stmt, TSI_CONTINUE_LINKING);
|
||||
TREE_TYPE (stmts) = void_type_node;
|
||||
|
||||
return current_binding_level->stmts = stmts;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user