aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2000-10-16 22:45:07 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2000-10-16 23:45:07 +0100
commit8e7ab3ff223e7d10baddb1df009ba057a1467cbc (patch)
tree03760bd34568dc82ee4fe60c48239d00355400ae /gcc/java
parenta5ad11e16e82932d577a3c5fdf9fac6b6dcfa4d7 (diff)
downloadgcc-8e7ab3ff223e7d10baddb1df009ba057a1467cbc.zip
gcc-8e7ab3ff223e7d10baddb1df009ba057a1467cbc.tar.gz
gcc-8e7ab3ff223e7d10baddb1df009ba057a1467cbc.tar.bz2
decl.c (init_decl_processing): Call init_class_processing before anything else.
* decl.c (init_decl_processing): Call init_class_processing before anything else. From-SVN: r36892
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/decl.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 4d33241..62f03cd 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-15 Anthony Green <green@redhat.com>
+
+ * decl.c (init_decl_processing): Call init_class_processing before
+ anything else.
+
2000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Make-lang.in (parse.c, parse-scan.c): Create atomically.
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 7d5c165..5ae2985 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -429,6 +429,8 @@ init_decl_processing ()
tree field = NULL_TREE;
tree t;
+ init_class_processing ();
+
current_function_decl = NULL;
current_binding_level = NULL_BINDING_LEVEL;
free_binding_level = NULL_BINDING_LEVEL;
@@ -903,7 +905,6 @@ init_decl_processing ()
build_function_type (long_type_node, t),
0, NOT_BUILT_IN, NULL_PTR);
- init_class_processing ();
init_jcf_parse ();
/* Register nodes with the garbage collector. */