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

Diff for /src/usr.bin/indent/indent.c between version 1.10 and 1.11

version 1.10, 2001/06/25 04:58:31 version 1.11, 2001/11/19 19:02:14
Line 84 
Line 84 
     int         force_nl;       /* when true, code must be broken */      int         force_nl;       /* when true, code must be broken */
     int         hd_type;        /* used to store type of stmt for if (...),      int         hd_type;        /* used to store type of stmt for if (...),
                                  * for (...), etc */                                   * for (...), etc */
     register int i;             /* local loop counter */      int         i;              /* local loop counter */
     int         scase;          /* set to true when we see a case, so we will      int         scase;          /* set to true when we see a case, so we will
                                  * know what to do with the following colon */                                   * know what to do with the following colon */
     int         sp_sw;          /* when true, we are in the expressin of      int         sp_sw;          /* when true, we are in the expressin of
Line 92 
Line 92 
     int         squest;         /* when this is positive, we have seen a ?      int         squest;         /* when this is positive, we have seen a ?
                                  * without the matching : in a <c>?<s>:<s>                                   * without the matching : in a <c>?<s>:<s>
                                  * construct */                                   * construct */
     register char *t_ptr;       /* used for copying tokens */      char        *t_ptr;         /* used for copying tokens */
     int         type_code;      /* the type of token, returned by lexi */      int         type_code;      /* the type of token, returned by lexi */
   
     int         last_else = 0;  /* true iff last keyword was an else */      int         last_else = 0;  /* true iff last keyword was an else */
Line 276 
Line 276 
             ps.ind_level = ps.i_l_follow = col / ps.ind_size;              ps.ind_level = ps.i_l_follow = col / ps.ind_size;
     }      }
     if (troff) {      if (troff) {
         register char *p = in_name,          char *p = in_name,
                    *beg = in_name;                     *beg = in_name;
   
         while (*p)          while (*p)

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