mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 06:44:10 +02:00
Fixed whitespace at the end
This commit is contained in:
parent
e0588e83aa
commit
2eac63e31c
1 changed files with 4 additions and 5 deletions
|
@ -2792,10 +2792,9 @@ void BfPrinter::Visit(BfRootNode* rootNode)
|
||||||
BfParserData* bfParser = rootNode->GetSourceData()->ToParserData();
|
BfParserData* bfParser = rootNode->GetSourceData()->ToParserData();
|
||||||
if (bfParser != NULL)
|
if (bfParser != NULL)
|
||||||
{
|
{
|
||||||
BfAstNode endNode;
|
BfAstNode* endNode = mSource->mAlloc.Alloc<BfAstNode>();
|
||||||
BfAstNode::Zero<BfAstNode>(&endNode);
|
endNode->Init(rootNode->GetSrcEnd(), bfParser->mSrcLength, bfParser->mSrcLength);
|
||||||
endNode.Init(rootNode->GetSrcEnd(), rootNode->GetSrcEnd(), bfParser->mSrcLength - rootNode->GetSrcEnd());
|
Visit(endNode);
|
||||||
Visit(&endNode);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mCharMapping != NULL)
|
if (mCharMapping != NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue