/[emacs]/emacs/lib-src/sorted-doc.c
ViewVC logotype

Diff of /emacs/lib-src/sorted-doc.c

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

revision 1.11 by pj, Sat Dec 29 22:22:46 2001 UTC revision 1.12 by pj, Sun Dec 30 22:06:22 2001 UTC
# Line 1  Line 1 
1  /* Give this program DOC-mm.nn.oo as standard input and it outputs to  /* Give this program DOC-mm.nn.oo as standard input and it outputs to
2     standard output a file of texinfo input containing the doc strings.     standard output a file of texinfo input containing the doc strings.
3      
4     Copyright (C) 1989, 1992, 1994, 1996, 1999, 2000, 2001     Copyright (C) 1989, 1992, 1994, 1996, 1999, 2000, 2001
5        Free Software Foundation Inc.        Free Software Foundation Inc.
6    
# Line 121  char *states[] = Line 121  char *states[] =
121  {  {
122    "WAITING", "BEG_NAME", "NAME_GET", "BEG_DESC", "DESC_GET"    "WAITING", "BEG_NAME", "NAME_GET", "BEG_DESC", "DESC_GET"
123  };  };
124        
125  int  int
126  main ()  main ()
127  {  {
# Line 133  main () Line 133  main ()
133    
134    DOCSTR *docs;                 /* chain of allocated DOCSTRS */    DOCSTR *docs;                 /* chain of allocated DOCSTRS */
135    char buf[512];                /* line buffer */    char buf[512];                /* line buffer */
136        
137    while (1)                     /* process one char at a time */    while (1)                     /* process one char at a time */
138      {      {
139        /* this char from the DOCSTR file */        /* this char from the DOCSTR file */
# Line 181  main () Line 181  main ()
181            bp = buf;            bp = buf;
182            state = DESC_GET;            state = DESC_GET;
183          }          }
184            
185        /* process gets */        /* process gets */
186    
187        if (state == NAME_GET || state == DESC_GET)        if (state == NAME_GET || state == DESC_GET)

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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