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

Diff for /src/usr.bin/make/suff.c between version 1.81 and 1.82

version 1.81, 2012/10/02 10:29:31 version 1.82, 2012/10/09 19:45:34
Line 49 
Line 49 
  *   *
  *      Suff_GetPath            Return the search path for the given suffix.   *      Suff_GetPath            Return the search path for the given suffix.
  *   *
  *      Suff_AddInclude         Mark the given suffix as denoting an include  
  *                              file.  
  *  
  *      Suff_AddLib             Mark the given suffix as denoting a library.  
  *  
  *      Suff_ParseAsTransform   Line might be a suffix line, check it.   *      Suff_ParseAsTransform   Line might be a suffix line, check it.
  *                              If it's not, return NULL. Otherwise, add   *                              If it's not, return NULL. Otherwise, add
  *                              another transformation to the suffix graph.   *                              another transformation to the suffix graph.
Line 123 
Line 118 
 /*  /*
  * Structure describing an individual suffix.   * Structure describing an individual suffix.
  */   */
 typedef struct Suff_ {  struct Suff_ {
         size_t nameLen;         /* optimisation: strlen(name) */          size_t nameLen;         /* optimisation: strlen(name) */
         short flags;          short flags;
 #define SUFF_ACTIVE       0x08  /* We never destroy suffixes and rules, */  #define SUFF_ACTIVE       0x08  /* We never destroy suffixes and rules, */
Line 136 
Line 131 
         LIST parents;           /* List of Suff we have a transformation to */          LIST parents;           /* List of Suff we have a transformation to */
         LIST children;          /* List of Suff we have a transformation from */          LIST children;          /* List of Suff we have a transformation from */
         char name[1];          char name[1];
 } Suff;  };
   
 static struct ohash_info suff_info = {  static struct ohash_info suff_info = {
         offsetof(struct Suff_, name), NULL,          offsetof(struct Suff_, name), NULL,
Line 501 
Line 496 
  *      Try parsing a target line as a transformation rule, depending on   *      Try parsing a target line as a transformation rule, depending on
  *      existing suffixes.   *      existing suffixes.
  *   *
  *      Possibly create anew transform, or reset an existing one.   *      Possibly create a new transform, or reset an existing one.
  *-----------------------------------------------------------------------   *-----------------------------------------------------------------------
  */   */
 GNode *  GNode *

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.82