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

17 lines
430 B
C++

#include "bscript/compiler/analyzer/FunctionVariableScope.h"
#include "bscript/compiler/analyzer/Variables.h"
namespace Pol::Bscript::Compiler
{
FunctionVariableScope::FunctionVariableScope( Variables& variables ) : variables( variables )
{
variables.variable_info_stack.emplace_back();
}
FunctionVariableScope::~FunctionVariableScope()
{
variables.variable_info_stack.pop_back();
}
} // namespace Pol::Bscript::Compiler