polserver/pol-core/bscript/compiler/ast/LoopStatement.cpp
turleypol 1463b76c7c
Includes are now all relative to pol-core basefolder (#906)
* all except pol

* pol and includes under defines

* something weird has happened

* remove own folder from include searchpath

* fixed remaining, adapted include style for external headers

* missing include
2026-07-25 23:01:18 +02:00

14 lines
456 B
C++

#include "bscript/compiler/ast/LoopStatement.h"
#include "bscript/compiler/model/FlowControlLabel.h"
namespace Pol::Bscript::Compiler
{
LoopStatement::LoopStatement( const SourceLocation& source_location, std::string label )
: LabelableStatement( source_location, std::move( label ) ),
break_label( std::make_shared<FlowControlLabel>() ),
continue_label( std::make_shared<FlowControlLabel>() )
{
}
} // namespace Pol::Bscript::Compiler