Yet another version of passing the last line to ParseFinishLine().

It turns out that some ports use the obscure feature of spreading
a dependency block across multiple include files. While this seems
bad style, allow it for now and call said function only at end of
all input to process the really last line of everything.
This commit is contained in:
harti 2005-03-15 14:25:24 +00:00
parent d1b34cc38c
commit db06c5de06

View File

@ -2534,14 +2534,14 @@ Parse_File(char *name, FILE *stream)
free(line);
}
if (curFile.F != NULL)
ParseFinishLine();
/*
* Reached EOF, but it may be just EOF of an include file...
*/
} while (ParseEOF(1) == CONTINUE);
ParseFinishLine();
/*
* Make sure conditionals are clean
*/