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 cp/error.c



Applied.

-- Gaby
CodeSourcery, LLC            http://www.codesourcery.com
     http://www.codesourcery.com/gcc-compile.shtml

2000-11-01  Gabriel Dos Reis  <gdr@codesourcery.com>

	* error.c (dump_template_decl): Separate template hearders with
	space not comma.

Index: error.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/error.c,v
retrieving revision 1.140
diff -p -r1.140 error.c
*** error.c	2000/10/31 08:43:17	1.140
--- error.c	2000/11/01 09:35:07
*************** dump_template_decl (t, flags)
*** 1142,1148 ****
                dump_template_parameter (TREE_VEC_ELT (inner_parms, i), flags);
              }
            print_template_argument_list_end (scratch_buffer);
!           separate_with_comma (scratch_buffer);
          }
        nreverse(orig_parms);
        /* If we've shown the template<args> prefix, we'd better show the
--- 1142,1148 ----
                dump_template_parameter (TREE_VEC_ELT (inner_parms, i), flags);
              }
            print_template_argument_list_end (scratch_buffer);
!           output_add_space (scratch_buffer);
          }
        nreverse(orig_parms);
        /* If we've shown the template<args> prefix, we'd better show the


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