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

Diff for /src/usr.bin/m4/main.c between version 1.47 and 1.48

version 1.47, 2001/09/18 20:59:32 version 1.48, 2001/09/19 13:14:18
Line 394 
Line 394 
                                                 if (sp < 0)                                                  if (sp < 0)
                                                         putc(l, active);                                                          putc(l, active);
                                                 else                                                  else
                                                         chrsave(l);                                                          CHRSAVE(l);
                                         }                                          }
                                 }                                  }
                         }                          }
Line 474 
Line 474 
                                         }                                          }
                                         if (t == EOF)                                          if (t == EOF)
                                             break;                                              break;
                                         chrsave(t);                                          CHRSAVE(t);
                                 }                                  }
                         } else                          } else
                                 chrsave(t);             /* stack the char */                                  CHRSAVE(t);             /* stack the char */
                         break;                          break;
                 }                  }
         }          }
Line 495 
Line 495 
                         putc(*s++, active);                          putc(*s++, active);
         else          else
                 while (*s)                  while (*s)
                         chrsave(*s++);                          CHRSAVE(*s++);
 }  }
   
 /*  /*
Line 517 
Line 517 
   
         while ((isalnum(c = gpbc()) || c == '_') && tp < etp)          while ((isalnum(c = gpbc()) || c == '_') && tp < etp)
                 h = (h << 5) + h + (*tp++ = c);                  h = (h << 5) + h + (*tp++ = c);
         putback(c);          PUTBACK(c);
         *tp = EOS;          *tp = EOS;
         /* token is too long, it won't match anything, but it can still          /* token is too long, it won't match anything, but it can still
          * be output. */           * be output. */
Line 527 
Line 527 
                         if (sp < 0)                          if (sp < 0)
                                 putc(c, active);                                  putc(c, active);
                         else                          else
                                 chrsave(c);                                  CHRSAVE(c);
                 }                  }
                 *name = EOS;                  *name = EOS;
                 return nil;                  return nil;

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