Tue Oct 20 09:15:38 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
commitc31939b7ce1a0d33d8c803edc1509de99db68a45
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Oct 1998 11:16:37 +0000 (20 11:16 +0000)
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Oct 1998 11:16:37 +0000 (20 11:16 +0000)
treedfc31a7ace81e0e453bad8eb1c3f339df92a71cb
parent2b0f2805f3dbafd444cfbab080d4e73c839a6a6e
Tue Oct 20 09:15:38 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* class.c (is_compiled_class): New local variable
  seen_in_zip. Identify classes found in currently compiled source
  file(s).
* decl.c (complete_start_java_method): Fixed typo.
* java-tree.h (CLASS_FROM_CURRENTLY_COMPILED_SOURCE_P,
  HAS_BEEN_ALREADY_PARSED_P, IS_A_COMMAND_LINE_FILENAME_P): New macros.
(CLASS_P): Moved around.
(java_parse_abort_on_error): Macro moved from jcf-parse.c
* jcf-parse.c (java_parse_abort_on_error): Macro moved to
  java-parse.h
(jcf_parse_source): Changed leading comment. Removed unnecessary
  fclose and CLASS_FROM_SOURCE_P marking.
(parse_source_file): New local variables remember_for_generation
  and filename. Mark parsed file name identifier node. Removed block
  executed when parse_only was null. Set remember_for_generation.
Use it as an argument to java_pop_parser_context.
(yyparse): New local variables several_files, list, next node and
  current_file_list. Split ampersand separated file names into
  current_file_list. Iterate through the list and parse accordingly.
* parse.h (java_pop_parser_context): New function prototype.
* parse.y (ctxp_for_generation): New static global variable.
(java_pop_parser_context): New argument generate. Link popped ctxp
  to ctxp_for_generation list accordingly.
(java_complete_expand_methods): Fixed indentation.
(java_expand_classes): New function.
Add support for the use of `&' as a file separator on the jc1 command
line.

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