Commit 7e9355c6 by Kaveh R. Ghazi Committed by Kaveh Ghazi

java-tree.h (cyclic_inheritance_report): Constify.

	* java-tree.h (cyclic_inheritance_report): Constify.
	* parse.y (cyclic_inheritance_report): Likewise.

From-SVN: r37564
parent 8bcc782c
2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* java-tree.h (cyclic_inheritance_report): Constify.
* parse.y (cyclic_inheritance_report): Likewise.
2000-11-17 Zack Weinberg <zack@wolery.stanford.edu> 2000-11-17 Zack Weinberg <zack@wolery.stanford.edu>
* parse.y (goal): Remove call to ggc_add_string_root. * parse.y (goal): Remove call to ggc_add_string_root.
......
...@@ -604,7 +604,7 @@ extern struct CPool *outgoing_cpool; ...@@ -604,7 +604,7 @@ extern struct CPool *outgoing_cpool;
#define wfl_operator \ #define wfl_operator \
java_global_trees[JTI_WFL_OPERATOR] java_global_trees[JTI_WFL_OPERATOR]
extern char *cyclic_inheritance_report; extern const char *cyclic_inheritance_report;
struct lang_identifier struct lang_identifier
{ {
......
...@@ -334,7 +334,7 @@ int java_warning_count; ...@@ -334,7 +334,7 @@ int java_warning_count;
/* Tell when not to fold, when doing xrefs */ /* Tell when not to fold, when doing xrefs */
int do_not_fold; int do_not_fold;
/* Cyclic inheritance report, as it can be set by layout_class */ /* Cyclic inheritance report, as it can be set by layout_class */
char *cyclic_inheritance_report; const char *cyclic_inheritance_report;
/* Tell when we're within an instance initializer */ /* Tell when we're within an instance initializer */
static int in_instance_initializer; static int in_instance_initializer;
......
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