summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-22 23:15:30 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-22 23:15:30 +0000
commitb4b174c3fb9ec7475e50ef67255cc1b2f274e949 (patch)
tree218203f16ff3e11b33a888e58c0921f40c76b2e5 /gcc/diagnostic.c
parent4d1574aea0432b48dc15e0f245d3a787dd488939 (diff)
downloadgcc-b4b174c3fb9ec7475e50ef67255cc1b2f274e949.tar.gz
* alias.c: Fix comment formatting.
* c-common.c: Likewise. * c-decl.c: Likewise. * c-opts.c: Likewise. * combine.c: Likewise. * cpplib.c: Likewise. * diagnostic.c: Likewise. * dojump.c: Likewise. * final.c: Likewise. * fold-const.c: Likewise. * gcc.c: Likewise. * gcse.c: Likewise. * ggc-page.c: Likewise. * jump.c: Likewise. * loop.c: Likewise. * mips-tfile.c: Likewise. * recog.c: Likewise. * regclass.c: Likewise. * regmove.c: Likewise. * tree.c: Likewise. * tree.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69689 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index be4b03cc7dd..cae8046d8e9 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -833,7 +833,7 @@ diagnostic_count_diagnostic (diagnostic_context *context,
if (context->internal_error)
(*context->internal_error) (diagnostic->message.format_spec,
diagnostic->message.args_ptr);
- /* fall through */
+ /* Fall through. */
case DK_FATAL: case DK_SORRY:
case DK_ANACHRONISM: case DK_NOTE:
@@ -857,7 +857,7 @@ diagnostic_count_diagnostic (diagnostic_context *context,
context->warnings_are_errors_message = false;
}
- /* and fall through */
+ /* And fall through. */
case DK_ERROR:
++diagnostic_kind_count (context, DK_ERROR);
break;