mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-14 09:49:42 +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>
|
2006-08-16 Jakub Jelinek <jakub@redhat.com>
|
||||||
Bryce McKinlay <bryce@mckinlay.net.nz>
|
Bryce McKinlay <bryce@mckinlay.net.nz>
|
||||||
|
|
||||||
|
@ -2188,6 +2188,7 @@ java_add_stmt (tree new_stmt)
|
|||||||
|
|
||||||
i = tsi_last (stmts);
|
i = tsi_last (stmts);
|
||||||
tsi_link_after (&i, new_stmt, TSI_CONTINUE_LINKING);
|
tsi_link_after (&i, new_stmt, TSI_CONTINUE_LINKING);
|
||||||
|
TREE_TYPE (stmts) = void_type_node;
|
||||||
|
|
||||||
return current_binding_level->stmts = stmts;
|
return current_binding_level->stmts = stmts;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user