1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/apps/openmw/mwscript/compilercontextscript.hpp
2010-07-02 17:21:27 +02:00

23 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