mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
added literal container and reworked output container handling
This commit is contained in:
parent
ba847ae9d8
commit
5cf3264bd3
12 changed files with 284 additions and 16 deletions
|
@ -1,12 +1,10 @@
|
|||
#ifndef COMPILER_SCRIPTPARSER_H_INCLUDED
|
||||
#define COMPILER_SCRIPTPARSER_H_INCLUDED
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <components/interpreter/types.hpp>
|
||||
|
||||
#include "parser.hpp"
|
||||
#include "lineparser.hpp"
|
||||
#include "output.hpp"
|
||||
|
||||
namespace Compiler
|
||||
{
|
||||
|
@ -16,11 +14,10 @@ namespace Compiler
|
|||
|
||||
class ScriptParser : public Parser
|
||||
{
|
||||
Output mOutput;
|
||||
LineParser mLineParser;
|
||||
Locals& mLocals;
|
||||
bool mEnd;
|
||||
std::vector<Interpreter::Type_Code> mCode;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
/// \param end of script is marked by end keyword.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue