Commit 8e7ab3ff by Anthony Green Committed by Bryce McKinlay

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
parent a5ad11e1
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> 2000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Make-lang.in (parse.c, parse-scan.c): Create atomically. * Make-lang.in (parse.c, parse-scan.c): Create atomically.
......
...@@ -429,6 +429,8 @@ init_decl_processing () ...@@ -429,6 +429,8 @@ init_decl_processing ()
tree field = NULL_TREE; tree field = NULL_TREE;
tree t; tree t;
init_class_processing ();
current_function_decl = NULL; current_function_decl = NULL;
current_binding_level = NULL_BINDING_LEVEL; current_binding_level = NULL_BINDING_LEVEL;
free_binding_level = NULL_BINDING_LEVEL; free_binding_level = NULL_BINDING_LEVEL;
...@@ -903,7 +905,6 @@ init_decl_processing () ...@@ -903,7 +905,6 @@ init_decl_processing ()
build_function_type (long_type_node, t), build_function_type (long_type_node, t),
0, NOT_BUILT_IN, NULL_PTR); 0, NOT_BUILT_IN, NULL_PTR);
init_class_processing ();
init_jcf_parse (); init_jcf_parse ();
/* Register nodes with the garbage collector. */ /* Register nodes with the garbage collector. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment