b0e3f7ec30
PR c++/11531 * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're not recursing on hard error. (diagnostic_for_decl): Likewise. * diagnostic.def: Rearrange. cp/ * typeck.c (check_return_expr): Fix thinko in diagnostic. From-SVN: r69425
10 lines
412 B
Modula-2
10 lines
412 B
Modula-2
DEFINE_DIAGNOSTIC_KIND (DK_FATAL, "fatal error: ")
|
|
DEFINE_DIAGNOSTIC_KIND (DK_ICE, "internal compiler error: ")
|
|
DEFINE_DIAGNOSTIC_KIND (DK_ERROR, "error: ")
|
|
DEFINE_DIAGNOSTIC_KIND (DK_SORRY, "sorry, unimplemented: ")
|
|
DEFINE_DIAGNOSTIC_KIND (DK_WARNING, "warning: ")
|
|
DEFINE_DIAGNOSTIC_KIND (DK_ANACHRONISM, "anachronism: ")
|
|
DEFINE_DIAGNOSTIC_KIND (DK_NOTE, "note: ")
|
|
DEFINE_DIAGNOSTIC_KIND (DK_DEBUG, "debug: ")
|
|
|