This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
C++ PATCH: Fix thinko in cp/error.c
- To: gcc-patches at gcc dot gnu dot org
- Subject: C++ PATCH: Fix thinko in cp/error.c
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 01 Nov 2000 10:39:09 +0100
- Organization: CodeSourcery, LLC
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