mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* 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
15 lines
393 B
C++
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
|