/[emacs]/emacs/lib-src/make-docfile.c
ViewVC logotype

Diff of /emacs/lib-src/make-docfile.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.48 by miles, Sun Oct 21 13:48:16 2001 UTC revision 1.49 by pj, Thu Nov 15 15:50:31 2001 UTC
# Line 79  FILE *outfile; Line 79  FILE *outfile;
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
# Line 201  char buf[128]; Line 201  char buf[128];
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.  */
# Line 280  scan_keyword_or_put_char (ch, state) Line 280  scan_keyword_or_put_char (ch, state)
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    
# Line 526  scan_c_file (filename, mode) Line 526  scan_c_file (filename, mode)
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';

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26