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

Diff for /src/usr.bin/make/lowparse.c between version 1.30 and 1.31

version 1.30, 2012/10/02 10:29:31 version 1.31, 2012/10/18 17:54:43
Line 279 
Line 279 
                                 if (c == '\n')                                  if (c == '\n')
                                         current->origin.lineno++;                                          current->origin.lineno++;
                         }                          }
                         if (c == EOF) {                          if (c == EOF)
                                 Parse_Error(PARSE_FATAL,                                  /* Unclosed conditional, reported by cond.c */
                                     "Unclosed conditional");  
                                 return NULL;                                  return NULL;
                         }  
                 }                  }
                 current->origin.lineno++;                  current->origin.lineno++;
         }          }
Line 489 
Line 487 
 void  void
 Parse_ReportErrors(void)  Parse_ReportErrors(void)
 {  {
         if (fatal_errors) {          if (fatal_errors)
                 fprintf(stderr,  
                     "Fatal errors encountered -- cannot continue\n");  
                 exit(1);                  exit(1);
         } else          else
                 assert(current == NULL);                  assert(current == NULL);
 }  }

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31