summaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-05-16 12:14:26 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-05-16 12:14:26 +0000
commit01cc3b7526f036bef25d4140ef0903276a67aa9a (patch)
treebf405c4941b111c08c0642d3410b2970aca3b162 /gcc/cpplib.c
parent6a63b8ac07f1b0e513c0b549c074e71c63041c1a (diff)
downloadgcc-01cc3b7526f036bef25d4140ef0903276a67aa9a.tar.gz
Fix typos in comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9711 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index db60a65cb8f..3f3e2126cba 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -3111,7 +3111,7 @@ get_directive_token (pfile)
This function expects to see "fname" or <fname> on the input.
The input is normally in part of the output_buffer following
- CPP_WRITTEN, and will get overwriiten by output_line_command.
+ CPP_WRITTEN, and will get overwritten by output_line_command.
I.e. in input file specification has been popped by handle_directive.
This is safe. */
@@ -4623,7 +4623,7 @@ cpp_get_token (pfile)
if (CPP_BUFFER (pfile)->nominal_fname && next_buf != 0)
{
/* We're about to return from an #include file.
- Emit #line information now (as part of the CPP_POP) restult.
+ Emit #line information now (as part of the CPP_POP) result.
But the #line refers to the file we will pop to. */
cpp_buffer *cur_buffer = CPP_BUFFER (pfile);
CPP_BUFFER (pfile) = next_buf;
@@ -7441,7 +7441,7 @@ extern const char *const sys_errlist[];
#else
extern char *sys_errlist[];
#endif
-#else /* HAVE_STERRROR */
+#else /* HAVE_STRERROR */
char *strerror ();
#endif
#else /* VMS */