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:
parent
d1b34cc38c
commit
db06c5de06
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user