[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.13 and 1.14

version 1.13, 1997/04/01 07:28:21 version 1.14, 1997/04/28 01:52:40
Line 2575 
Line 2575 
 Lst  Lst
 Parse_MainName()  Parse_MainName()
 {  {
     Lst           main; /* result list */      Lst           listmain;     /* result list */
   
     main = Lst_Init (FALSE);      listmain = Lst_Init (FALSE);
   
     if (mainNode == NILGNODE) {      if (mainNode == NILGNODE) {
         Punt ("no target to make.");          Punt ("no target to make.");
         /*NOTREACHED*/          /*NOTREACHED*/
     } else if (mainNode->type & OP_DOUBLEDEP) {      } else if (mainNode->type & OP_DOUBLEDEP) {
         (void) Lst_AtEnd (main, (ClientData)mainNode);          (void) Lst_AtEnd (listmain, (ClientData)mainNode);
         Lst_Concat(main, mainNode->cohorts, LST_CONCNEW);          Lst_Concat(listmain, mainNode->cohorts, LST_CONCNEW);
     }      }
     else      else
         (void) Lst_AtEnd (main, (ClientData)mainNode);          (void) Lst_AtEnd (listmain, (ClientData)mainNode);
     return (main);      return (listmain);
 }  }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14