summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-01 19:31:01 +0000
committerpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-01 19:31:01 +0000
commitb52baaa66105bfb71042c1cf8b3061b5920f2629 (patch)
treef7c91f33832ca998f5cbb7d4128b538e022d0e7e /gcc/diagnostic.c
parentbcf1adbd267150ebefcadf4535b0b7617842cb95 (diff)
downloadgcc-b52baaa66105bfb71042c1cf8b3061b5920f2629.tar.gz
2000-12-01 Phil Edwards <pme@sources.redhat.com>
* diagnostic.c: Fix typos in comments. * diagnostic.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37923 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index 85e3650164b..e8c7cca7846 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -147,7 +147,7 @@ diagnostic_finalizer_fn lang_diagnostic_finalizer;
int diagnostic_message_length_per_line;
/* Used to control every diagnostic message formatting. Front-ends should
- call set_message_prefixing_rule to set up their politics. */
+ call set_message_prefixing_rule to set up their policies. */
static int current_prefixing_rule;
/* Prevent recursion into the error handler. */
@@ -373,7 +373,7 @@ output_clear (buffer)
clear_diagnostic_info (buffer);
}
-/* Finishes to construct a NULL-terminated character string representing
+/* Finishes constructing a NULL-terminated character string representing
the BUFFERed message. */
const char *
@@ -636,7 +636,7 @@ maybe_wrap_text (buffer, start, end)
}
-/* Append a STRING to BUFFER; the STRING maybe be line-wrapped if in
+/* Append a STRING to BUFFER; the STRING might be line-wrapped if in
appropriate mode. */
void
@@ -661,7 +661,7 @@ output_to_stream (buffer, file)
/* Format a message pointed to by output_buffer_text_cursor (BUFFER) using
output_buffer_format_args (BUFFER) as appropriate. The following format
- specifiers are recognized as being language independent:
+ specifiers are recognized as being language independent:
%d, %i: (signed) integer in base ten.
%u: unsigned integer in base ten.
%o: unsigned integer in base eight.
@@ -1696,7 +1696,7 @@ See %s for instructions.\n",
exit (FATAL_EXIT_CODE);
}
-/* Setup DC for reporting a diagnostic MESSAGE (an error of a WARNING),
+/* Setup DC for reporting a diagnostic MESSAGE (an error or a WARNING),
using arguments pointed to by ARGS_PTR, issued at a location specified
by FILE and LINE. */
void