aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
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/decl.c
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/decl.c')
-rw-r--r--gcc/java/decl.c3
1 files changed, 2 insertions, 1 deletions
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. */