[BACK]Return to C.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ctags

Diff for /src/usr.bin/ctags/C.c between version 1.3 and 1.4

version 1.3, 1997/06/30 06:26:33 version 1.4, 1997/07/21 23:18:45
Line 200 
Line 200 
                  * reserved words.                   * reserved words.
                  */                   */
                 default:                  default:
                           /*
                            * to treat following function.
                            * func      (arg) {
                            * ....
                            * }
                            */
                           if (c == ' ' || c == '\t') {
                                   int save = c;
                                   while (GETC(!=, EOF) && (c == ' ' || c == '\t'))
                                           ;
                                   if (c == EOF)
                                           return;
                                   (void)ungetc(c, inf);
                                   c = save;
                           }
         storec:         if (!intoken(c)) {          storec:         if (!intoken(c)) {
                                 if (sp == tok)                                  if (sp == tok)
                                         break;                                          break;
Line 317 
Line 332 
         int     curline;                /* line started on */          int     curline;                /* line started on */
         char    *sp;                    /* buffer pointer */          char    *sp;                    /* buffer pointer */
         char    tok[MAXTOKEN];          /* storage buffer */          char    tok[MAXTOKEN];          /* storage buffer */
   
           /*
            * to treat following macro.
            * #     macro(arg)        ....
            */
           while (GETC(!=, EOF) && (c == ' ' || c == '\t'))
                   ;
           (void)ungetc(c, inf);
   
         curline = lineno;          curline = lineno;
         for (sp = tok;;) {              /* get next token */          for (sp = tok;;) {              /* get next token */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4