mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* use new formatter for ERROR_PRINT, added ERROR_PRINTLN * remove old log define * fix comments
14 lines
435 B
C++
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
|