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
16 lines
483 B
C++
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
|