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

Diff for /src/usr.bin/make/parsevar.c between version 1.1 and 1.2

version 1.1, 2001/05/23 12:34:48 version 1.2, 2004/04/07 13:11:36
Line 43 
Line 43 
 static const char *find_op2(const char *);  static const char *find_op2(const char *);
   
 static const char *  static const char *
 find_op1(p)  find_op1(const char *p)
     const char *p;  
 {  {
     for(;; p++) {      for(;; p++) {
         if (isspace(*p) || *p == '$' || *p == '\0')          if (isspace(*p) || *p == '$' || *p == '\0')
Line 58 
Line 57 
 }  }
   
 static const char *  static const char *
 find_op2(p)  find_op2(const char *p)
     const char *p;  
 {  {
     for(;; p++) {      for(;; p++) {
         if (isspace(*p) || *p == '$' || *p == '\0')          if (isspace(*p) || *p == '$' || *p == '\0')
Line 71 
Line 69 
 }  }
   
 bool  bool
 Parse_DoVar(line, ctxt)  Parse_DoVar(const char *line,
     const char  *line;      GSymT *ctxt)                /* Context in which to do the assignment */
     GSymT       *ctxt;    /* Context in which to do the assignment */  
 {  {
     const char  *arg;      const char  *arg;
     char        *res1 = NULL, *res2 = NULL;      char        *res1 = NULL, *res2 = NULL;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2