polserver/pol-core/bscript/compiler/ast/LoopStatement.cpp
turleypol 0e675c516a
use new formatter for ERROR_PRINT, added ERROR_PRINTLN (#595)
* use new formatter for ERROR_PRINT, added ERROR_PRINTLN

* remove old log define

* fix comments
2024-01-12 06:51:44 +01:00

14 lines
435 B
C++

#include "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