=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/lowparse.c,v retrieving revision 1.30 retrieving revision 1.31 diff -c -r1.30 -r1.31 *** src/usr.bin/make/lowparse.c 2012/10/02 10:29:31 1.30 --- src/usr.bin/make/lowparse.c 2012/10/18 17:54:43 1.31 *************** *** 1,4 **** ! /* $OpenBSD: lowparse.c,v 1.30 2012/10/02 10:29:31 espie Exp $ */ /* low-level parsing functions. */ --- 1,4 ---- ! /* $OpenBSD: lowparse.c,v 1.31 2012/10/18 17:54:43 espie Exp $ */ /* low-level parsing functions. */ *************** *** 279,289 **** if (c == '\n') current->origin.lineno++; } ! if (c == EOF) { ! Parse_Error(PARSE_FATAL, ! "Unclosed conditional"); return NULL; - } } current->origin.lineno++; } --- 279,287 ---- if (c == '\n') current->origin.lineno++; } ! if (c == EOF) ! /* Unclosed conditional, reported by cond.c */ return NULL; } current->origin.lineno++; } *************** *** 489,498 **** void Parse_ReportErrors(void) { ! if (fatal_errors) { ! fprintf(stderr, ! "Fatal errors encountered -- cannot continue\n"); exit(1); ! } else assert(current == NULL); } --- 487,494 ---- void Parse_ReportErrors(void) { ! if (fatal_errors) exit(1); ! else assert(current == NULL); }