polserver/pol-core/bscript/compiler/ast/LabelableStatement.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

15 lines
393 B
C++

#include "bscript/compiler/ast/LabelableStatement.h"
namespace Pol::Bscript::Compiler
{
LabelableStatement::LabelableStatement( const SourceLocation& source_location, std::string label )
: Statement( source_location ), label( std::move( label ) )
{
}
void LabelableStatement::relabel( std::string new_label )
{
label = std::move( new_label );
}
} // namespace Pol::Bscript::Compiler