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
17 lines
430 B
C++
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
|