Commit 182ee260 by Andrew Haley Committed by Andrew Haley

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
parent ca858709
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment