polserver/pol-core/bscript/compiler/analyzer/LocalVariableScopes.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

16 lines
483 B
C++

#include "bscript/compiler/analyzer/LocalVariableScopes.h"
#include "bscript/compiler/analyzer/Variables.h"
namespace Pol::Bscript::Compiler
{
LocalVariableScopes::LocalVariableScopes( Variables& local_variables, Report& report )
: local_variables( local_variables ), report( report )
{
}
LocalVariableScope* LocalVariableScopes::current_local_scope()
{
return local_variable_scopes.empty() ? nullptr : local_variable_scopes.back();
}
} // namespace Pol::Bscript::Compiler