mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Handle while
collapse
This commit is contained in:
parent
080dadb24b
commit
1c05905058
1 changed files with 7 additions and 0 deletions
|
@ -9312,6 +9312,13 @@ BF_EXPORT const char* BF_CALLTYPE BfCompiler_GetCollapseRegions(BfCompiler* bfCo
|
|||
BfElementVisitor::Visit(repeatStatement);
|
||||
}
|
||||
|
||||
virtual void Visit(BfWhileStatement* whileStatement) override
|
||||
{
|
||||
Add(whileStatement->mWhileToken, whileStatement->mEmbeddedStatement);
|
||||
|
||||
BfElementVisitor::Visit(whileStatement);
|
||||
}
|
||||
|
||||
virtual void Visit(BfDoStatement* doStatement) override
|
||||
{
|
||||
Add(doStatement->mDoToken, doStatement->mEmbeddedStatement);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue