decl.c (predef_filenames, [...]): New globals
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Wed, 21 Apr 1999 13:49:49 +0000 (13:49 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Wed, 21 Apr 1999 13:49:49 +0000 (06:49 -0700)
commit5423609c57f756be5db8981d4ebb11a80d44f6e9
tree6a4397f5304c150cbe5d79eab70071c1fe5a446a
parent9d9cf1661deded9d4030041ba8a4dc6a80df78c7
decl.c (predef_filenames, [...]): New globals

Wed Apr 21 11:13:36 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* decl.c (predef_filenames, predef_filenames_size): New globals
(init_decl_processing): predef_filenames and predef_filenames_size
  initialized.
* java-tree.h (predef_filenames, predef_filenames_size): Declared
  extern.
* jcf-parse.c (predefined_filename_p): New function.
(yyparse): Check that files on the command line are specified only
  once and issue a warning otherwise.
* parse.h (JPRIMITIVE_TYPE_OR_VOID_P): New macro.
* parse.y (source_end_java_method): Nullify NOP method bodies, to
  avoid a gcc warning with -W -Wall turned on.
(java_expand_classes): Abort if errors were encountered.
(java_complete_lhs): If the cross reference flag is set, wrap
  field DECL node around a WFL when resolving expression name.

From-SVN: r26578
gcc/java/ChangeLog
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