diff options
author | Phil Edwards <pme@gcc.gnu.org> | 2000-12-01 19:31:01 +0000 |
---|---|---|
committer | Phil Edwards <pme@gcc.gnu.org> | 2000-12-01 19:31:01 +0000 |
commit | c4765d18f2b94c466136c40c34b6fc19202aba9c (patch) | |
tree | f7c91f33832ca998f5cbb7d4128b538e022d0e7e /gcc/diagnostic.c | |
parent | 815d683eb807397e670bb8e06f6333e0a391fccb (diff) | |
download | gcc-c4765d18f2b94c466136c40c34b6fc19202aba9c.zip gcc-c4765d18f2b94c466136c40c34b6fc19202aba9c.tar.gz gcc-c4765d18f2b94c466136c40c34b6fc19202aba9c.tar.bz2 |
diagnostic.c: Fix typos in comments.
2000-12-01 Phil Edwards <pme@sources.redhat.com>
* diagnostic.c: Fix typos in comments.
* diagnostic.h: Likewise.
From-SVN: r37923
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r-- | gcc/diagnostic.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 85e3650..e8c7cca 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 |