+2002-06-07 Gabriel Dos Reis <gdr@merlin.nerim.net>
+
+ * diagnostic.c (diagnostic_build_prefix): Fix initialization.
+
2002-06-07 Jason Thorpe <thorpej@wasabisystems.com>
* config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define.
diagnostic_info *diagnostic;
{
static const char *diagnostic_kind_text[] = {
-#define DEFINE_DIAGNOSTIC_KIND(K, T) _(T),
+#define DEFINE_DIAGNOSTIC_KIND(K, T) (T),
#include "diagnostic.def"
#undef DEFINE_DIAGNOSTIC_KIND
"must-not-happen"
? build_message_string ("%s:%d: %s",
diagnostic->location.file,
diagnostic->location.line,
- diagnostic_kind_text[diagnostic->kind])
+ _(diagnostic_kind_text[diagnostic->kind]))
: build_message_string ("%s: %s", progname,
- diagnostic_kind_text[diagnostic->kind]);
+ _(diagnostic_kind_text[diagnostic->kind]));
}
/* Report a diagnostic MESSAGE at the declaration DECL.