diff options
| author | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-21 13:49:49 +0000 |
|---|---|---|
| committer | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-21 13:49:49 +0000 |
| commit | 53bd31b59a04dd78049c5bbc67c4d26f98c7653f (patch) | |
| tree | 6a4397f5304c150cbe5d79eab70071c1fe5a446a /gcc/java/parse.h | |
| parent | bb5daf981dd9bf2a57d8bc80a238f5cf9d2922dd (diff) | |
| download | ppe42-gcc-53bd31b59a04dd78049c5bbc67c4d26f98c7653f.tar.gz ppe42-gcc-53bd31b59a04dd78049c5bbc67c4d26f98c7653f.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26578 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/parse.h')
| -rw-r--r-- | gcc/java/parse.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/java/parse.h b/gcc/java/parse.h index 52d9917df87..fb489e00508 100644 --- a/gcc/java/parse.h +++ b/gcc/java/parse.h @@ -177,6 +177,9 @@ extern tree stabilize_reference PROTO ((tree)); && (JNUMERIC_TYPE_P ((TYPE)) \ || TREE_CODE ((TYPE)) == BOOLEAN_TYPE)) +#define JPRIMITIVE_TYPE_OR_VOID_P(TYPE) \ + (JPRIMITIVE_TYPE_P (TYPE) || ((TYPE) == void_type_node)) + #define JBSC_TYPE_P(TYPE) ((TYPE) && (((TYPE) == byte_type_node) \ || ((TYPE) == short_type_node) \ || ((TYPE) == char_type_node))) |

