* error.c (cp_error_at): Fix typo.
authorGabriel Dos Reis <gdr@codesourcery.com>
Thu, 6 Jun 2002 03:20:10 +0000 (03:20 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Thu, 6 Jun 2002 03:20:10 +0000 (03:20 +0000)
From-SVN: r54299

gcc/cp/ChangeLog
gcc/cp/error.c

index 79beafca53982062b3665738b5e83d8b13cecd57..d7dca47c7392ae396aae6fb28d29b9df4d38516f 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
+
+       * error.c (cp_error_at): Fix typo.
+
 2002-06-04  Gabriel Dos Reis  <gdr@codesourcery.com>
 
        * error.c (cp_diagnostic_starter): Adjust call.
index 1b24fb0e5e3f16f2bd0d77dd3cb886f8b8d0e881..15a7c94809b404599f4934ecf0aa39f978843e7d 100644 (file)
@@ -2690,7 +2690,7 @@ cp_error_at VPARAMS ((const char *msgid, ...))
   VA_FIXEDARG (ap, const char *, msgid);
 
   diagnostic_set_info (&diagnostic, msgid, &ap,
-                       cp_file_of (here), cp_line_of (here), DK_WARNING);
+                       cp_file_of (here), cp_line_of (here), DK_ERROR);
   report_diagnostic (&diagnostic);
   VA_CLOSE (ap);
 }