This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[C++ PATCH]: Fix thinko in diagnostic


Hi,
I've installed this obvious patch to %P diagnostic reporting.

built & tested on i686-pc-linux-gnu

nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
2000-09-11  Nathan Sidwell  <nathan@codesourcery.com>

	* error.c (cp_tree_printer, case 'P'): Append break.

Index: cp/error.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/error.c,v
retrieving revision 1.131
diff -c -3 -p -r1.131 error.c
*** error.c	2000/09/06 09:21:35	1.131
--- error.c	2000/09/11 15:00:47
*************** cp_tree_printer (buffer)
*** 2698,2703 ****
--- 2698,2704 ----
      case 'P':
        print_function_parameter
          (buffer, va_arg (output_buffer_format_args (buffer), int));
+       break;
        
      case 'T':
        tree_being_formatted (&tfi) =

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]