Skip to content
Snippets Groups Projects
Commit 8e6e92a8 authored by geigle1's avatar geigle1
Browse files

Port fix to monad.

git-svn-id: https://subversion.cs.illinois.edu/svn/cs225@7753 6fbd10e7-183d-0410-a318-cb416676e4f2
parent 2c9089ce
No related branches found
No related tags found
No related merge requests found
...@@ -47,20 +47,14 @@ int main(int argc, const char * const * argv) ...@@ -47,20 +47,14 @@ int main(int argc, const char * const * argv)
} }
else else
{ {
if (isNextOutput) if (isNextOutput)
{
outputFile = argv[i]; outputFile = argv[i];
isNextOutput = false;
}
else else
{ {
inputFiles.push_back( argv[i] ); inputFiles.push_back( argv[i] );
/*
if (inputFile == "")
inputFile = argv[i];
else
{
cerr << "cc-monad: error: cc-monad can only take one input file" << endl;
exit(1);
}
*/
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment