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

Diff for /src/usr.bin/make/parse.c between version 1.70 and 1.71

version 1.70, 2007/01/18 17:49:51 version 1.71, 2007/03/20 03:50:39
Line 838 
Line 838 
                 Parse_Error(PARSE_WARNING, "Extra target ignored");                  Parse_Error(PARSE_WARNING, "Extra target ignored");
             }              }
         } else {          } else {
             while (*cp && isspace(*cp)) {              while (isspace(*cp)) {
                 cp++;                  cp++;
             }              }
         }          }
Line 885 
Line 885 
     /*      /*
      * Get to the first source       * Get to the first source
      */       */
     while (*cp && isspace(*cp)) {      while (isspace(*cp)) {
         cp++;          cp++;
     }      }
     line = cp;      line = cp;
Line 997 
Line 997 
             if (savec != '\0') {              if (savec != '\0') {
                 cp++;                  cp++;
             }              }
             while (*cp && isspace(*cp)) {              while (isspace(*cp)) {
                 cp++;                  cp++;
             }              }
             line = cp;              line = cp;
Line 1047 
Line 1047 
   
                 ParseDoSrc(tOp, line);                  ParseDoSrc(tOp, line);
             }              }
             while (*cp && isspace(*cp)) {              while (isspace(*cp)) {
                 cp++;                  cp++;
             }              }
             line = cp;              line = cp;
Line 1378 
Line 1378 
   
     char        *stripped;      char        *stripped;
   
     while (*line != '\0' && isspace(*line))      while (isspace(*line))
         line++;          line++;
   
     /* The line might be a conditional. Ask the conditional module      /* The line might be a conditional. Ask the conditional module
Line 1389 
Line 1389 
         do {          do {
             line = Parse_ReadNextConditionalLine(linebuf);              line = Parse_ReadNextConditionalLine(linebuf);
             if (line != NULL) {              if (line != NULL) {
                 while (*line != '\0' && isspace(*line))                  while (isspace(*line))
                     line++;                      line++;
                     stripped = strip_comments(copy, line);                      stripped = strip_comments(copy, line);
             }              }
Line 1425 
Line 1425 
         char *cp;          char *cp;
   
         line+=5;          line+=5;
         while (*line != '\0' && isspace(*line))          while (isspace(*line))
             line++;              line++;
         for (cp = line; !isspace(*cp) && *cp != '\0';)          for (cp = line; !isspace(*cp) && *cp != '\0';)
             cp++;              cp++;

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71