diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 1998-10-16 19:36:39 +0000 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 1998-10-16 12:36:39 -0700 |
commit | c583dd46ad05221ee43832d6845ebeb686492579 (patch) | |
tree | 0f92c4b1856c87f2362d17e61e9bd4187423ba40 /gcc/java/lex.c | |
parent | 8e52e063afdb17d8d92e5ceb1c03dc915a5a17a3 (diff) | |
download | gcc-c583dd46ad05221ee43832d6845ebeb686492579.zip gcc-c583dd46ad05221ee43832d6845ebeb686492579.tar.gz gcc-c583dd46ad05221ee43832d6845ebeb686492579.tar.bz2 |
lex.c (setjmp.h): No longer included.
Fri Oct 16 10:59:01 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
* lex.c (setjmp.h): No longer included.
* lex.h (setjmp.h): Included.
* parse.h (SET_TYPE_FOR_RESOLUTION): New macro.
(duplicate_declaration_error_p): Renamed from
duplicate_declaration_error.
(build_array_from_name): New function prototype.
* parse.y (setjmp.h): No longer included.
(variable_declarator_id): Define action.
(build_array_from_name): New function.
(duplicate_declaration_error_p): Renamed from
duplicate_declaration_error. Fixed leading comment.
(register_fields): Main `for' loop reorganized. Uses
SET_TYPE_FOR_RESOLUTION and build_array_from_name.
(method_declarator): Uses SET_TYPE_FOR_RESOLUTION and call
build_array_from_name.
(resolve_class): Set CLASS_LOADED_P on newly build array dimension
types.
(read_import_dir): Don't try to skip `.' and `..'.
(declare_local_variables): Uses SET_TYPE_FOR_RESOLUTION and
build_array_from_name. Main `for' loop reorganized.
(resolve_qualified_expression_name): When building access to a
field, use the type where the field was found, not its own type.
(maybe_access_field): Use field DECL_CONTEXT if the type where the
field was found is null.
(qualify_ambiguous_name): Sweep through all successive array
dimensions.
Implements the alternate form `T a[]' of array declarations. Fixes a
bug when building access to certain fields. Fixed a compilation
warning when lex.h is included from somewhere else than parse.y
From-SVN: r23142
Diffstat (limited to 'gcc/java/lex.c')
-rw-r--r-- | gcc/java/lex.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c index 7caed76..1c103e1 100644 --- a/gcc/java/lex.c +++ b/gcc/java/lex.c @@ -37,7 +37,6 @@ Addison Wesley 1996" (http://java.sun.com/docs/books/jls/html/3.doc.html) */ #include <stdio.h> #include <string.h> #include <strings.h> -#include <setjmp.h> #ifdef JAVA_LEX_DEBUG #include <ctype.h> |