summaryrefslogtreecommitdiff
path: root/lib-src/make-docfile.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2010-01-18 04:58:35 +0100
committerJuanma Barranquero <lekktu@gmail.com>2010-01-18 04:58:35 +0100
commit33972e801477b638f22f4ba3f6e04199d5992124 (patch)
treecf9c6d0fd8ff494f1050b1e7042f6f1ce8a4865d /lib-src/make-docfile.c
parent14f17fc8ff23dbf6d6442f904a73b0e181f01886 (diff)
downloademacs-33972e801477b638f22f4ba3f6e04199d5992124.tar.gz
Fix typos in comments.
Diffstat (limited to 'lib-src/make-docfile.c')
-rw-r--r--lib-src/make-docfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index af1928c63fb..eb15342ca5b 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -240,10 +240,10 @@ struct rcsoc_state
/* A keyword we look for at the beginning of lines. If found, it is
not copied, and SAW_KEYWORD is set to true. */
char *keyword;
- /* The current point we've reached in an occurance of KEYWORD in
+ /* The current point we've reached in an occurrence of KEYWORD in
the input stream. */
char *cur_keyword_ptr;
- /* Set to true if we saw an occurance of KEYWORD. */
+ /* Set to true if we saw an occurrence of KEYWORD. */
int saw_keyword;
};
@@ -354,7 +354,7 @@ scan_keyword_or_put_char (ch, state)
PRINTFLAG is positive, output string contents to outfile. If it is
negative, store contents in buf. Convert escape sequences \n and
\t to newline and tab; discard \ followed by newline.
- If SAW_USAGE is non-zero, then any occurances of the string `usage:'
+ If SAW_USAGE is non-zero, then any occurrences of the string `usage:'
at the beginning of a line will be removed, and *SAW_USAGE set to
true if any were encountered. */