OSDN Git Service

* java-tree.h (JAVA_FILE_P, ZIP_FILE_P): Remove unused macros.
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Sep 2004 23:25:27 +0000 (23:25 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Sep 2004 23:25:27 +0000 (23:25 +0000)
commitda37f90918aaf39482487693a44bd92d24749df2
tree0b4854ccef6da28990a8faf1935840149a357ba1
parenta90a67646152207cfb59bf4288a0e0e90e706ef8
* java-tree.h (JAVA_FILE_P, ZIP_FILE_P):  Remove unused macros.
* jcf-parse.c (java_parse_file): Don't set input_filename.
Use IS_A_COMMAND_LINE_FILENAME_P to check for duplicate filenames.
Create a list of TRANSLATION_UNIT_DECL.
(current_file_list):  Is now a TRANSLATION_UNIT_DECL chain.  The
reason is so we can set a DECL_SOURCE_LOCATION for each file.
(java_parse_file):  Don't set unused ZIP_FILE_P, JAVA_FILE_P..
Create line-map LC_ENTER/LC_LEAVE entries for archive itself.
(file_start_location):  New static.
(set_source_filename):  Avoid extra access to input_filename macro.
Concatenate new name with class's package prefix.
(set_source_filename, give_name_to_class): Update.
(give_name_to_class):  Set class's "line 0" input_location here.
(parse_class_file):  Set input_location as a unit.

* jcf-parse.c (load_class): Sanity test if missing inner class file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88366 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/java-tree.h
gcc/java/jcf-parse.c