aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@gcc.gnu.org>2001-11-23 02:05:19 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2001-11-23 02:05:19 +0000
commita1f300c0f19c17e0b17fe8017bc3cb79f23337bd (patch)
tree827acc65803788d44d036826826c0366d5c3edc9 /gcc/diagnostic.c
parent754d92990a56ddb0319ecd360eed752684423f0a (diff)
downloadgcc-a1f300c0f19c17e0b17fe8017bc3cb79f23337bd.zip
gcc-a1f300c0f19c17e0b17fe8017bc3cb79f23337bd.tar.gz
gcc-a1f300c0f19c17e0b17fe8017bc3cb79f23337bd.tar.bz2
ChangeLog.0, [...]: Fix spelling errors.
* ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog, FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c, cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c, dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h, explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c, sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors. From-SVN: r47279
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 d0ad847..417e8b3 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -175,7 +175,7 @@ diagnostic_initialize (context)
diagnostic_finalizer (context) = default_diagnostic_finalizer;
}
-/* Returns true if BUFFER is in line-wrappind mode. */
+/* Returns true if BUFFER is in line-wrapping mode. */
int
output_is_line_wrapping (buffer)
@@ -202,7 +202,7 @@ set_real_maximum_length (buffer)
{
/* If we're told not to wrap lines then do the obvious thing. In case
we'll emit prefix only once per diagnostic message, it is appropriate
- not to increase unncessarily the line-length cut-off. */
+ not to increase unnecessarily the line-length cut-off. */
if (! output_is_line_wrapping (buffer)
|| diagnostic_prefixing_rule (buffer) == DIAGNOSTICS_SHOW_PREFIX_ONCE
|| diagnostic_prefixing_rule (buffer) == DIAGNOSTICS_SHOW_PREFIX_NEVER)
@@ -547,7 +547,7 @@ wrap_text (buffer, start, end)
while (start != end)
{
- /* Dump anything bodered by whitespaces. */
+ /* Dump anything bordered by whitespaces. */
{
const char *p = start;
while (p != end && *p != ' ' && *p != '\n')
@@ -752,7 +752,7 @@ vbuild_message_string (msg, ap)
}
/* Return a malloc'd string containing MSG formatted a la
- printf. The caller is reponsible for freeing the memory. */
+ printf. The caller is responsible for freeing the memory. */
static char *
build_message_string VPARAMS ((const char *msg, ...))
@@ -1296,7 +1296,7 @@ diagnostic_finish (buffer)
fflush (output_buffer_attached_stream (buffer));
}
-/* Helper subroutine of output_verbatim and verbatim. Do the approriate
+/* Helper subroutine of output_verbatim and verbatim. Do the appropriate
settings needed by BUFFER for a verbatim formatting. */
static void