cpplib: More interface cleanups

Richard Henderson rth@redhat.com
Tue Nov 28 14:54:00 GMT 2000


You missed these.


r~


        * c-parse.in (finish_parse): Update for parse_in type change.
        (_yylex): Likewise.

Index: c-parse.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/c-parse.in,v
retrieving revision 1.73
diff -c -p -d -r1.73 c-parse.in
*** c-parse.in	2000/11/26 10:48:49	1.73
--- c-parse.in	2000/11/28 22:50:38
*************** init_parse (filename)
*** 3134,3141 ****
  void
  finish_parse ()
  {
!   cpp_finish (&parse_in);
!   errorcount += parse_in.errors;
  }
  
  #define NAME(type) cpp_type2name (type)
--- 3134,3141 ----
  void
  finish_parse ()
  {
!   cpp_finish (parse_in);
!   errorcount += parse_in->errors;
  }
  
  #define NAME(type) cpp_type2name (type)
*************** _yylex ()
*** 3231,3238 ****
      case CPP_DOT:					return '.';
  
      case CPP_EOF:
!       cpp_pop_buffer (&parse_in);
!       if (! CPP_BUFFER (&parse_in))
  	return 0;
        goto retry;
  
--- 3231,3238 ----
      case CPP_DOT:					return '.';
  
      case CPP_EOF:
!       cpp_pop_buffer (parse_in);
!       if (! CPP_BUFFER (parse_in))
  	return 0;
        goto retry;
  


More information about the Gcc-patches mailing list