From 95bd1dd72f8e33c77da74e7e6707f206784f6b15 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 18 Jan 2003 02:26:43 +0000 Subject: alias.c: Fix comment typos. * alias.c: Fix comment typos. * basic-block.h: Likewise. * c-common.c: Likewise. * c-common.h: Likewise. * c-decl.c: Likewise. * c-opts.c: Likewise. * c-pragma.c: Likewise. * c-pretty-print.h: Likewise. * cfg.c: Likewise. * cfganal.c: Likewise. * cfgbuild.c: Likewise. * cfgcleanup.c: Likewise. * cfglayout.c: Likewise. * cfgrtl.c: Likewise. * convert.c: Likewise. * cpphash.h: Likewise. * cpplex.c: Likewise. * cpplib.h: Likewise. * df.h: Likewise. * diagnostic.c: Likewise. * diagnostic.h: Likewise. * dwarf2.h: Likewise. From-SVN: r61462 --- gcc/diagnostic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/diagnostic.c') diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 015d2c4..a192229 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -644,7 +644,7 @@ build_message_string VPARAMS ((const char *msg, ...)) return str; } -/* Same as diagnsotic_build_prefix, but only the source FILE is given. */ +/* Same as diagnostic_build_prefix, but only the source FILE is given. */ char * file_name_as_prefix (f) const char *f; @@ -817,7 +817,7 @@ diagnostic_set_info (diagnostic, msgid, args, file, line, kind) { diagnostic->message.format_spec = msgid; diagnostic->message.args_ptr = args; - /* If the diagnostic message doesn't specify a loccation, + /* If the diagnostic message doesn't specify a location, use FILE and LINE. */ if (!text_specifies_location (&diagnostic->message, &diagnostic->location)) { -- cgit v1.1