mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* trigger tidy * Automated clang-tidy change: modernize-use-equals-delete,modernize-make-shared,modernize-make-unique,modernize-use-constraints,readability-container-size-empty,modernize-redundant-void-arg,modernize-use-emplace * removed non needed macros * missed to disable tidy build --------- Co-authored-by: Clang Tidy <clang-tidy@users.noreply.github.com>
17 lines
404 B
C++
17 lines
404 B
C++
#include "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
|