Patch to make VS happier, thanks to Morten Ofstad for pointing this out.

llvm-svn: 16956
This commit is contained in:
Chris Lattner 2004-10-13 15:25:46 +00:00
parent 6017d47064
commit ac1a547a38
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ static void HandleInclude(const char *Buffer) {
/// files. Switch back to an includer if an includee has run out of input. /// files. Switch back to an includer if an includee has run out of input.
/// ///
extern "C" extern "C"
int yywrap() { int yywrap(void) {
if (IncludeStack.back().File != stdin) if (IncludeStack.back().File != stdin)
fclose(IncludeStack.back().File); fclose(IncludeStack.back().File);
IncludeStack.pop_back(); IncludeStack.pop_back();