diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-01-18 02:26:43 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-01-18 02:26:43 +0000 |
commit | 95bd1dd72f8e33c77da74e7e6707f206784f6b15 (patch) | |
tree | 6a219732ec330734a0ab46ead554f3e3bd32ba25 /gcc/diagnostic.c | |
parent | d5840e09def0a9a4efbcc31ae5bf30b9761335bd (diff) | |
download | gcc-95bd1dd72f8e33c77da74e7e6707f206784f6b15.zip gcc-95bd1dd72f8e33c77da74e7e6707f206784f6b15.tar.gz gcc-95bd1dd72f8e33c77da74e7e6707f206784f6b15.tar.bz2 |
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
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r-- | gcc/diagnostic.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)) { |