summaryrefslogtreecommitdiff
path: root/gcc/java/lex.h
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@cygnus.com>1998-10-16 19:36:39 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>1998-10-16 12:36:39 -0700
commitc583dd46ad05221ee43832d6845ebeb686492579 (patch)
tree0f92c4b1856c87f2362d17e61e9bd4187423ba40 /gcc/java/lex.h
parent8e52e063afdb17d8d92e5ceb1c03dc915a5a17a3 (diff)
downloadgcc-c583dd46ad05221ee43832d6845ebeb686492579.tar.gz
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.h')
-rw-r--r--gcc/java/lex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/lex.h b/gcc/java/lex.h
index 155e1c30e24..fdee404c0a9 100644
--- a/gcc/java/lex.h
+++ b/gcc/java/lex.h
@@ -26,6 +26,8 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#ifndef JV_LEX_H
#define JV_LEX_H
+#include <setjmp.h> /* set_float_handler argument uses it */
+
/* Extern global variables declarations */
extern FILE *finput;
extern int lineno;