mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 04:49:54 +00:00
22 lines
494 B
C++
22 lines
494 B
C++
#ifndef GAME_SCRIPT_COMPILERCONTEXTSCRIPT_H
|
|
#define GAME_SCRIPT_COMPILERCONTEXTSCRIPT_H
|
|
|
|
#include "compilercontext.hpp"
|
|
|
|
namespace MWScript
|
|
{
|
|
/// Context for local scripts, global scripts and targetted scripts
|
|
|
|
class CompilerContextScript : public CompilerContext
|
|
{
|
|
public:
|
|
|
|
// Is the compiler allowed to declare local variables?
|
|
virtual bool canDeclareLocals() const
|
|
{
|
|
return true;
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif
|