Fix gcj -R.

From-SVN: r50815
This commit is contained in:
Anthony Green 2002-03-15 18:00:22 +00:00 committed by Anthony Green
parent 3a4edb4417
commit 8d39b4476f
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2002-03-15 Anthony Green <green@redhat.com>
* jcf-parse.c (yyparse): Don't emit class registration
constructor when compiling resource files.
2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* lang.c (java_tree_code_type, java_tree_code_length,

View File

@ -1054,9 +1054,6 @@ yyparse ()
resource_filename = IDENTIFIER_POINTER (TREE_VALUE (current_file_list));
compile_resource_file (resource_name, resource_filename);
java_expand_classes ();
if (!java_report_errors ())
emit_register_classes ();
return 0;
}