comparison lib-src/make-docfile.c @ 106894:b3b9ebd930e1

Fix typos in comments.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 18 Jan 2010 04:58:35 +0100
parents 1d1d5d9bd884
children 5842e8fabe06 376148b31b5e
comparison
equal deleted inserted replaced
106893:7fce83bc7acf 106894:b3b9ebd930e1
238 FILE *out_file; 238 FILE *out_file;
239 239
240 /* A keyword we look for at the beginning of lines. If found, it is 240 /* A keyword we look for at the beginning of lines. If found, it is
241 not copied, and SAW_KEYWORD is set to true. */ 241 not copied, and SAW_KEYWORD is set to true. */
242 char *keyword; 242 char *keyword;
243 /* The current point we've reached in an occurance of KEYWORD in 243 /* The current point we've reached in an occurrence of KEYWORD in
244 the input stream. */ 244 the input stream. */
245 char *cur_keyword_ptr; 245 char *cur_keyword_ptr;
246 /* Set to true if we saw an occurance of KEYWORD. */ 246 /* Set to true if we saw an occurrence of KEYWORD. */
247 int saw_keyword; 247 int saw_keyword;
248 }; 248 };
249 249
250 /* Output CH to the file or buffer in STATE. Any pending newlines or 250 /* Output CH to the file or buffer in STATE. Any pending newlines or
251 spaces are output first. */ 251 spaces are output first. */
352 /* Skip a C string or C-style comment from INFILE, and return the 352 /* Skip a C string or C-style comment from INFILE, and return the
353 character that follows. COMMENT non-zero means skip a comment. If 353 character that follows. COMMENT non-zero means skip a comment. If
354 PRINTFLAG is positive, output string contents to outfile. If it is 354 PRINTFLAG is positive, output string contents to outfile. If it is
355 negative, store contents in buf. Convert escape sequences \n and 355 negative, store contents in buf. Convert escape sequences \n and
356 \t to newline and tab; discard \ followed by newline. 356 \t to newline and tab; discard \ followed by newline.
357 If SAW_USAGE is non-zero, then any occurances of the string `usage:' 357 If SAW_USAGE is non-zero, then any occurrences of the string `usage:'
358 at the beginning of a line will be removed, and *SAW_USAGE set to 358 at the beginning of a line will be removed, and *SAW_USAGE set to
359 true if any were encountered. */ 359 true if any were encountered. */
360 360
361 int 361 int
362 read_c_string_or_comment (infile, printflag, comment, saw_usage) 362 read_c_string_or_comment (infile, printflag, comment, saw_usage)