mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Trailing whitespace trimming
This commit is contained in:
parent
06425735d9
commit
7f328385db
88 changed files with 9577 additions and 9850 deletions
|
@ -19,7 +19,7 @@ public:
|
|||
{
|
||||
idx++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
idx++;
|
||||
}
|
||||
return idx;
|
||||
|
@ -37,10 +37,10 @@ public:
|
|||
{
|
||||
char c = source->mSrc[idx];
|
||||
if (c == '\n')
|
||||
{
|
||||
{
|
||||
idx++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
idx--;
|
||||
}
|
||||
return idx;
|
||||
|
@ -67,13 +67,13 @@ public:
|
|||
|
||||
virtual void Visit(BfUsingDirective* usingDirective) override
|
||||
{
|
||||
mLastIdx = FindLineStartAfter(usingDirective->GetSourceData(), usingDirective->GetSrcEnd());
|
||||
mLastIdx = FindLineStartAfter(usingDirective->GetSourceData(), usingDirective->GetSrcEnd());
|
||||
}
|
||||
|
||||
virtual void Visit(BfNamespaceDeclaration* namespaceDecl) override
|
||||
{
|
||||
if (mFromIdx != -1)
|
||||
{
|
||||
{
|
||||
if ((mFromIdx < namespaceDecl->mSrcStart) || (mFromIdx >= namespaceDecl->mSrcEnd))
|
||||
{
|
||||
// Not inside
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue