re GNATS gcj/207 (Compiler failure)
Thu Apr 27 17:47:34 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-parse.c (jcf_parse_source): Reset current_class and current_function_decl to NULL before parsing a new file. (This fixes the PR gcj/207: http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00044.html) From-SVN: r34343
This commit is contained in:
parent
eb9c1bb6e2
commit
0ba154aa23
@ -46,6 +46,11 @@
|
||||
one.)
|
||||
(resolve_qualified_expression_name): Fixed comment.
|
||||
|
||||
Thu Apr 27 17:47:34 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* jcf-parse.c (jcf_parse_source): Reset current_class and
|
||||
current_function_decl to NULL before parsing a new file.
|
||||
|
||||
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
|
||||
|
@ -570,6 +570,8 @@ jcf_parse_source ()
|
||||
java_push_parser_context ();
|
||||
input_filename = current_jcf->filename;
|
||||
file = get_identifier (input_filename);
|
||||
current_class = NULL_TREE;
|
||||
current_function_decl = NULL_TREE;
|
||||
if (!HAS_BEEN_ALREADY_PARSED_P (file))
|
||||
{
|
||||
if (!(finput = fopen (input_filename, "r")))
|
||||
|
Loading…
Reference in New Issue
Block a user