1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Trailing whitespace trimming

This commit is contained in:
Brian Fiete 2022-07-26 13:27:03 -04:00
parent 06425735d9
commit 7f328385db
88 changed files with 9577 additions and 9850 deletions

View file

@ -16,7 +16,7 @@ BfSource::BfSource(BfSystem* bfSystem)
if (bfSystem != NULL)
mAstAllocManager = &gBfParserCache->mAstAllocManager;
mSrc = NULL;
mSrcLength = 0;
mSrcAllocSize = -1;
@ -36,7 +36,7 @@ BfSource::BfSource(BfSystem* bfSystem)
BfSource::~BfSource()
{
int sourceCount = gSourceCount--;
int sourceCount = gSourceCount--;
delete mSourceData;
@ -65,7 +65,7 @@ BfErrorNode* BfSource::CreateErrorNode(BfAstNode* astNode)
}
void BfSource::AddErrorNode(BfAstNode* astNode)
{
{
mPendingErrorNodes.push_back(CreateErrorNode(astNode));
}
@ -85,10 +85,10 @@ int BfSource::AllocChars(int charCount)
mSrcAllocSize = newAllocSize;
BF_ASSERT(mSourceData->ToParser() != NULL);
mSourceData->mSrc = mSrc;
mSourceData->mSrc = mSrc;
HadSrcRealloc();
}
}
int retVal = mSrcLength;
mSrcLength += charCount;
@ -130,7 +130,7 @@ void BfSource::FinishSideNodes()
}
void BfSource::Close()
{
{
// if (mAlloc->mSource == NULL)
// {
// BF_ASSERT(mErrorRootNode == NULL);
@ -149,4 +149,4 @@ void BfSource::Close()
}
mIsClosed = true;
}
}