aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/errfn.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1998-05-21 23:49:13 -0400
committerJason Merrill <jason@gcc.gnu.org>1998-05-21 23:49:13 -0400
commitd7fe837368e6100b687daadd2439af7c54330816 (patch)
tree399db6df81fd446fea5e4e4a30250778f15219d9 /gcc/cp/errfn.c
parent07704a9adb1f8e87d5c7d21661f7bd538077dd23 (diff)
downloadgcc-d7fe837368e6100b687daadd2439af7c54330816.zip
gcc-d7fe837368e6100b687daadd2439af7c54330816.tar.gz
gcc-d7fe837368e6100b687daadd2439af7c54330816.tar.bz2
comment
From-SVN: r19948
Diffstat (limited to 'gcc/cp/errfn.c')
-rw-r--r--gcc/cp/errfn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/errfn.c b/gcc/cp/errfn.c
index d5e7077..761f922 100644
--- a/gcc/cp/errfn.c
+++ b/gcc/cp/errfn.c
@@ -72,6 +72,8 @@ cp_thing (errfn, atarg1, format, ap)
const char *f;
tree atarg = 0;
+ /* We call this here so that the calls to cp_error in
+ print_template_context don't bash buf. */
maybe_print_template_context ();
len = strlen (format) + 1;