version 1.11, 2002/05/17 11:58:56 |
version 1.12, 2004/04/07 13:11:35 |
|
|
* A big one... |
* A big one... |
*/ |
*/ |
void |
void |
DieHorribly() |
DieHorribly(void) |
{ |
{ |
Job_AbortAll(); |
Job_AbortAll(); |
if (DEBUG(GRAPH2)) |
if (DEBUG(GRAPH2)) |
|
|
* The program exits |
* The program exits |
*/ |
*/ |
void |
void |
Finish(errors) |
Finish(int errors) /* number of errors encountered in Make_Make */ |
int errors; /* number of errors encountered in Make_Make */ |
|
{ |
{ |
Fatal("%d error%s", errors, errors == 1 ? "" : "s"); |
Fatal("%d error%s", errors, errors == 1 ? "" : "s"); |
} |
} |
|
|
va_list ap; |
va_list ap; |
|
|
va_start(ap, fmt); |
va_start(ap, fmt); |
ParseVErrorInternal(Parse_Getfilename(), Parse_Getlineno(), type, fmt, ap); |
ParseVErrorInternal(Parse_Getfilename(), Parse_Getlineno(), type, |
|
fmt, ap); |
va_end(ap); |
va_end(ap); |
} |
} |
|
|