[gnu.utils.bug] indent 1.0 enum problems

edf@ROCKY2.ROCKEFELLER.EDU (-----) (07/13/89)

The mixing of enums and ints in GNU indent 1.0 caused the 4.3BSD cc
to complain and give up until the following casts were added.
Even then, it produced dozens of "warning: enumeration type clash"
warnings.

*** io.c.orig	Thu Jul 13 01:11:12 1989
--- io.c	Thu Jul 13 01:11:46 1989
***************
*** 473,479 ****
  		    if (p[0] == '*' && p[1] == '/' && p[2] == '\n' && com) {
  			if (s_com != e_com || s_lab != e_lab || s_code != e_code)
  			    dump_line();
! 			if (!(inhibit_formatting = com - 1)) {
  			    n_real_blanklines = 0;
  			    postfix_blankline_requested = 0;
  			    prefix_blankline_requested = 0;
--- 473,479 ----
  		    if (p[0] == '*' && p[1] == '/' && p[2] == '\n' && com) {
  			if (s_com != e_com || s_lab != e_lab || s_code != e_code)
  			    dump_line();
! 			if (!(inhibit_formatting = (int) com - 1)) {
  			    n_real_blanklines = 0;
  			    postfix_blankline_requested = 0;
  			    prefix_blankline_requested = 0;


*** lexi.c.orig	Thu Jul 13 01:18:16 1989
--- lexi.c	Thu Jul 13 01:16:51 1989
***************
*** 306,312 ****
      case '\n':
  	unary_delim = parser_state_tos->last_u_d;
  	parser_state_tos->last_nl = true;	/* remember that we just had a newline */
! 	code = (had_eof ? 0 : newline);
  
  	/*
  	 * if data has been exausted, the newline is a dummy, and we should
--- 306,312 ----
      case '\n':
  	unary_delim = parser_state_tos->last_u_d;
  	parser_state_tos->last_nl = true;	/* remember that we just had a newline */
! 	code = (had_eof ? 0 : (int) newline);
  
  	/*
  	 * if data has been exausted, the newline is a dummy, and we should