version 1.30, 2012/10/02 10:29:31 |
version 1.31, 2012/10/18 17:54:43 |
|
|
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++; |
} |
} |
|
|
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); |
} |
} |