1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Working on wrapping for formatter

This commit is contained in:
Brian Fiete 2020-03-28 14:26:14 -07:00
parent edcdb3bbb1
commit 076931cf3b
8 changed files with 315 additions and 66 deletions

View file

@ -5712,6 +5712,12 @@ bool BfCompiler::DoCompile(const StringImpl& outputDirectory)
{
BP_ZONE("BfCompiler::Compile");
if (mSystem->mTypeDefs.mCount == 0)
{
// No-source bailout
return true;
}
if (!mOptions.mErrorString.IsEmpty())
{
mPassInstance->Fail(mOptions.mErrorString);