79 |
/* Name this program was invoked with. */ |
/* Name this program was invoked with. */ |
80 |
char *progname; |
char *progname; |
81 |
|
|
82 |
/* Print error message. `s1' is printf control string, `s2' is arg for it. */ |
/* Print error message. `s1' is printf control string, `s2' is arg for it. */ |
83 |
|
|
84 |
/* VARARGS1 */ |
/* VARARGS1 */ |
85 |
void |
void |
201 |
/* Some state during the execution of `read_c_string_or_comment'. */ |
/* Some state during the execution of `read_c_string_or_comment'. */ |
202 |
struct rcsoc_state |
struct rcsoc_state |
203 |
{ |
{ |
204 |
/* A count of spaces and newlines that have been read, but not output. */ |
/* A count of spaces and newlines that have been read, but not output. */ |
205 |
unsigned pending_spaces, pending_newlines; |
unsigned pending_spaces, pending_newlines; |
206 |
|
|
207 |
/* Where we're reading from. */ |
/* Where we're reading from. */ |
280 |
/* Reset the scanning pointer. */ |
/* Reset the scanning pointer. */ |
281 |
state->cur_keyword_ptr = state->keyword; |
state->cur_keyword_ptr = state->keyword; |
282 |
|
|
283 |
/* Canonicalize whitespace preceding a usage string. */ |
/* Canonicalize whitespace preceding a usage string. */ |
284 |
state->pending_newlines = 2; |
state->pending_newlines = 2; |
285 |
state->pending_spaces = 0; |
state->pending_spaces = 0; |
286 |
|
|
526 |
return 0; |
return 0; |
527 |
} |
} |
528 |
|
|
529 |
/* Reset extension to be able to detect duplicate files. */ |
/* Reset extension to be able to detect duplicate files. */ |
530 |
filename[strlen (filename) - 1] = extension; |
filename[strlen (filename) - 1] = extension; |
531 |
|
|
532 |
c = '\n'; |
c = '\n'; |